what i am doing now is creating structure of site
ie: (home, contact, faq's, submit, contact,)
now imf trying to write fuctions
here is what i have so far all the pages will have data on it
eventually but right now i want to render just the html.
how would i do it? im confused, do i have to write a module and table
for every page?
cant i just write a function to render a page like the about page?
here is my main controller
<?php
class introController extends AppController
{
var $name = 'intro';
var $helpers = array('Html', 'Javascript', 'Ajax');
function index()
{
$this->render();
}
}
?>
can i add a line like this to render about or am i lost?
function about()
{
$this->render();
}
thanks right now i just want to do page calls but they will all have
data on them.
Thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---