Evening all,

I am trying to build my site navigation from the content of a database
table.  I have read in the CakePHP manual (http://book.cakephp.org/
view/64/Creating-Components) that it is not recommended to access/use
a model in a component.

Can anyone suggest a better way of extracting the data for the pages I
want it to appear on on the site?  The only thing I can think of is a
beforeFilter() on the AppControler, but this would be called even on
pages I did not need the navigation to appear.

Thanks in advance,

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