Look for layout and elements, also there are a couple of helpers on the net for making menus ( search cake menu helper ).
http://book.cakephp.org On Sat, May 31, 2008 at 7:51 PM, Levente <[EMAIL PROTECTED]> wrote: > > Hi! > I am new with CakePHP. > I have read the IBM tutorial "How to cook up websites fast". I liked > it much. It was much better than the Blog Tutorial. But I miss some > parts. I can create views, tables with relations, etc. > But if for example I have 10 views on a portal, how can I create a > menu so that > - it shows on each site next to the corresponding view (for example on > the left), > - and when I open a view in the browser the corresponding menuitem is > highlighted with bold? > The main point is that I would not like to paste the whole menu code > in each view's ctp file. I would like to eliminate redundancy. (Is > there a way for example to have a "menu module" to which I can give > parameters?) > I am looking for a standard solution. Is there maybe a tutorial that > demostrates this technique? > Thanks for help. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
