Re: Model Array index issue

2012-02-29 Thread Waterschaats
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 > >

Model Array index issue

2012-02-28 Thread Waterschaats
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

Re: paginate recursive

2012-02-14 Thread Waterschaats
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,

paginate recursive

2012-02-13 Thread Waterschaats
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

Re: clear element cache cakphp 2.0

2012-01-06 Thread Waterschaats
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

Re: clear element cache cakphp 2.0

2012-01-06 Thread Waterschaats
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

Re: clear element cache cakphp 2.0

2012-01-06 Thread Waterschaats
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? >

clear element cache cakphp 2.0

2012-01-05 Thread Waterschaats
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

Re: I am looking for a good oAuth 2.0 component that will work in cakePHP 2.0.4

2012-01-05 Thread Waterschaats
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

Re: Cutom Routes

2012-01-04 Thread Waterschaats
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

Re: Cutom Routes

2012-01-04 Thread Waterschaats
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

Re: Cutom Routes

2012-01-04 Thread Waterschaats
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

Cutom Routes

2012-01-04 Thread Waterschaats
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

Re: Tree Helper Cake 2.0

2011-12-30 Thread Waterschaats
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,

Tree Helper Cake 2.0

2011-12-29 Thread Waterschaats
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

Re: html entities

2010-02-17 Thread Waterschaats
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

html entities

2010-02-17 Thread Waterschaats
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

Cake console

2010-02-02 Thread Waterschaats
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: