I am trying to figured out how to pull content dynamically using cake
1.2.
I have my content files in the views/pages directory. All of them
with .ctp extension.
I did it on php with the following code:
<? include('content/'.$GET['pg']).'.php'); ?>
>From the URL I would type something like:
www.domain.com/?pg=contact
How can I accomplish this on CakePHP?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---