[eluser]garycocs[/eluser]
Hi Lads,
Just wondering what peoples normal layouts for codeigniter are? I've been reading up a bit on it and there's a few different ways??
for a basic enough site like ratemypub.ie should I have
1 controller, and different functions for each webpage/view in that controller or seperate controllers for each webpage/view
Also people have their templates laid out differently?
Some peoples versions have the views
header.php
contnent.php
footer.php
The content for each content.php view changing depending on the page.
Where others recommend the view
template.php
which calls header.php and footer.php from within and
somehow calls different content from within the template depending on what web page the user is requesting??
Coould someone point me in the right direction with these issues?? I've read up about each of them but am still a bit confused.
Thanks for anything ye can give me.
Gary