On Dec 7, 10:59 am, Rob <[EMAIL PROTECTED]> wrote:
> Elements are definitely the way to go. I make extensive use of
> elements for common display items.

Okay, good. At least I'm not _way_ off base, then. Now, the follow-on
question is this: how do I make an element data-driven? In my case,
I'd want my element to have access to the NavMenu model in order to
retrieve the items in any given menu. I haven't found much (read:
anything) documented on this.

> On the other hand, if you are just driving a common navigation, I'm
> not sure you need an element since it can just go directly into the
> layout.

Except that it's data-driven and exists with slight variations in 3
different locations within the layout.

Thanks again.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to