Hello,

I'm creating a sample cakephp app just to play with.

Question 1: Layouts

I want to greet the user and keep that at the top of every page (ie Hi
Greg), however none of the variables I set seem to be available to my
layout file.  Are we able to pass more than the pagetitle into the
layout files?

Question 2: Menus

I want to include a navigational menu for the users.  Is this best
included in an element or view?

I noticed the elements seem to be called from directly views, with
arrays passed in.  Seems like a bit of extra data pushing to send
information to a view, and then into an element, but on the other
hand, it seems like a highly reusable component best suited for an
element.

--~--~---------~--~----~------------~-------~--~----~
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