I want a pony. But, for a menu, you'd probably want to use an element.
Create file:
app/views/elements/menu.ctp
In your layout:
echo $this->element('menu');
http://api.cakephp.org/class/view#method-Viewelement
There are a lot of different ways to do this with Cake.
http://www.google.com/search?q=cakephp+menu
On Fri, Aug 21, 2009 at 6:09 AM, dhiraj ray<[email protected]> wrote:
>
> i want to add menu layout
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---