Re: Loading external Javascript in AJAX layout

2008-05-05 Thread Daddy Cool
Might help : http://groups.google.com/group/cake-php/browse_thread/thread/acd4762cab0467ff/c1ed15d5f4e544eb#c1ed15d5f4e544eb --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, se

Re: Section Navigation

2008-04-20 Thread Daddy Cool
When I get to write lists, I prefer to put them into an array containing the important values before parsing them : Corrections and additions is much simpler : $links[] = array('index','Overview'); $links[] = array('ask','Asking a question'); ... then use a foreach($links as $link): ?> action =

Re: Accessing models from outside their main controller

2008-04-20 Thread Daddy Cool
Wouldn't it be also possible to use the controllers method ? ==> var $uses = array('model1','model2'); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@go