Re: How to use a controller for layout logic?

2010-10-20 Thread Tilen Majerle
http://book.cakephp.org/view/1323/Containable read this :D -- Tilen Majerle http://majerle.eu 2010/10/20 ravidp > Thanks for the response, > > I didn't understand what you meant by " use the Containable behavior" > Could you explain or direct me

Re: How to use a controller for layout logic?

2010-10-20 Thread ravidp
Thanks for the response, I didn't understand what you meant by " use the Containable behavior" Could you explain or direct me about it ? Thanks, Ravid On Oct 20, 2:00 pm, Jeremy Burns | Class Outfit wrote: > Use the Containable behaviour. > > Jeremy Burns > Class Outfit > > jeremybu...@classout

Re: How to use a controller for layout logic?

2010-10-20 Thread Jeremy Burns | Class Outfit
Use the Containable behaviour. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 20 Oct 2010, at 12:59, ravidp wrote: > Hi, > > I need to paginate data from table connected across 3 levels (a->b- >> c). > The thing is, recursive = 2 brings a-l-l the the conne

How to use a controller for layout logic?

2010-10-20 Thread ravidp
Hi, I need to paginate data from table connected across 3 levels (a->b- >c). The thing is, recursive = 2 brings a-l-l the the connected tables, which is way too much for my use and too heavy to retrieve. Is there a way to specify the exact connection i want to retrieve between the tables? Thank

Re: How to use a controller for layout logic?

2010-10-14 Thread Jeremy Burns | Class Outfit
http://articles.classoutfit.com/2009/11/cakephp-dynamic-navigation-bars/ Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 14 Oct 2010, at 10:15, ravidp wrote: > Hi, > > In my layout I have a menu which I want a part of it to be filled > dynamically from the d

How to use a controller for layout logic?

2010-10-14 Thread ravidp
Hi, In my layout I have a menu which I want a part of it to be filled dynamically from the data base. Any ideas of the best way to make it happen? Thanks in advance, Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received t

Re: Layout Logic

2006-10-05 Thread DJ Spark
hi marcos, did you read the manual or something ? What you area asking is all answered there. I strongly suggest you follow these sections in the manual: http://manual.cakephp.org/chapter/models http://manual.cakephp.org/chapter/controllers http://manual.cakephp.org/chapter/views They wil

Re: Layout Logic

2006-10-05 Thread Neves
Here goes a better example. My main layout has a place where all pages go inside and a sidebar with the last news. Where goes the code that query the database and bring data to the layout view use it? --~--~-~--~~~---~--~~ You received this message because you are

Layout Logic

2006-10-04 Thread Neves
My layout that is the header/menu/footer/rightSide has many logic, with database access, etc. Where goes the layout logic? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to