Hi everyone,
Quick question.
I have an app I'm building with nav all building off of the 'pages'
table with certain pages requiring data from other Models. For
example, 'clients' is a table and a row in 'pages'. So would you:
1. Store the view new as a template in the table? For example,
pages.template = 'clients'
2 Hard-code the possible routes, for example:
Router::connect('/clients/*', array('controller' => 'clients',
'action' => 'index'));
Just looking for the best practice way of doing this.
Thanks!
Wilson
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---