Hello there.
I'm new to cakephp. I want to create a controller that will read an URL from the database and then show the corresponding content in a view. For example, in the field "URL", there will be written 'contact'. The controller will read this url, and then show the text in the 'text' field, using the default view layout. Basically I won't be creating pages in the /pages directory, they would all be stored in the database. Is it possible to do that? This would be nice because then if the site's owner wanted to change the page's content, he wouldn't have to go to the /pages directory and edit html code and stuff. Thanks! -- View this message in context: http://www.nabble.com/Reading-URL-from-a-mysql-table-and-showing-the-corresponding-page-tp23438387p23438387.html Sent from the CakePHP mailing list archive at Nabble.com. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
