gt; On Tuesday, February 28, 2012 4:49:18 PM UTC-8, Waterschaats wrote:
>
> > I have a weird problem with Models and array's
>
> > I moved a website from a test server to the live server.
> > In the new situate all my code started to complaine about undefined
> >
I have a weird problem with Models and array's
I moved a website from a test server to the live server.
In the new situate all my code started to complaine about undefined
indexes. When debugging an array I see that the array indexes became
numbers instead of the Model names!? What can be the prob
Thank you, but this doesn't seem to work, all tough I think I'm close
now. I'm using cakephp 2 btw.
I have to select a certain user_id
I changed the code into this but it's not working.
$this->paginate = array(
'Event' => array(
'limit'=> 10,
'page' => 1,
conditions' => array(
'Route.id' => $value,
'Event.user_id',=>3
),'recursive'=>2
)
);
$this->set('routes', $this->paginate('Route'));
This is what I have but it do
Yes! Thats it.
element_unique does the trick!
Tank you very much!
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from th
I've successfully cached an element with in my layout.ctp:
$this->element('main_menu', array(), array("cache" => array('config'
=> 'default', 'key' => 'unique')));
which results in a cache file named: 'cake_element_unique'
I can't delete this specific cache file using the following code in my
con
Burns
> Class Outfit
>
> http://www.classoutfit.com
>
> On 5 Jan 2012, at 19:45:54, Waterschaats wrote:
>
>
>
>
>
>
>
> > Ik have a cached element in cache/cake_element__main_menu_cache
> > How can I clear this file without clearing the complete cache?
>
Ik have a cached element in cache/cake_element__main_menu_cache
How can I clear this file without clearing the complete cache?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
wit
https://github.com/mtkocak/authake works for me.
On 17 dec 2011, 20:48, Salines wrote:
> I am looking for a good oAuth 2.o component or code that will work in
> cakePHP 2.0.4.
>
> Thanks
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new Cake
Thanks,
In case of using: Router::connect('/*', array('controller' => 'pages',
'action' => 'display')); I have to specifie all the controller I use.
I don't want that.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site ht
by the way. I'm using cakephp 2.0 (The error handling implementation
has dramatically changed in 2.0)
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related q
Thanks this is usefull.
Although I was thinking of accomplishing this with Routes. It feels a
bit wrong to handle this with an error function. And is this
performance wise the best option?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new Cake
When a Controller of Plugin isn't found. I want it to end at a
specific controller that examines the ulr, and checks if there'r a
page related to it in my cms.
So, after the default cakephp routing I don't want the missing
controller error but I want to route to a controller.
How can I Accomplish t
Lep pozdrav, Tilen Majerlehttp://majerle.eu
>
> 2011/12/30 gimmebucks
>
>
>
>
>
>
>
> > I'm looking for it too(2.0).. currently i did it manually (nested
> > loop) and find out that it's quicker than using helpers (1.3)
>
> > On Dec 29, 6:45 pm,
Is there already a Tree Helper for Cakephp 2.0. I need it to generate
unordered lists.
Thanks,
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questio
Yes Thanks!
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe f
I want a link with a span inside. like this: linktext
When I use this the span tags are converted to html entities()
$html->link($title . $html->tag("span", null, array('class' =>
'test')), $url);
Check out the new CakePHP Questions site http://cakeqs.org and help others with
I try to bake models with the console.
I've already bakes a new app and created a database for it.
When i try to bake the models for the app its keeps on showing the
models of the main app.
How do i change the path to the new app?
(I use MAMP on OSX)
Check out the new CakePHP Questions site http:
18 matches
Mail list logo