Morning mate,

I would say what you're looking for there is elements.

Elements are snippets of code that area reused in multiple views or layouts.

$this->renderElement();

In either your view or layout will call the element you specify.

http://manual.cakephp.org/chapter/views
http://api.cakephp.org/classView.html#36953203de5567c3dfedb7718347fdc5

HTH,
mikee

On 10/12/06, Mech7 <[EMAIL PROTECTED]> wrote:
>
> Can anybody please point me somewhere or explain how i should organize
> (include) files like a menu that exists on every page.. I am not really
> known with MVC i did the blog tutorial but it left me with this
> question :) thx in advance
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Cake PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to