CodeIgniter Forums
How to integrate already designed html template - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: How to integrate already designed html template (/showthread.php?tid=67933)



How to integrate already designed html template - johnjolly34 - 04-27-2017

hello everyone, please i am new to codeigniter, i have being trying to integrate my html template into my codeigniter project, the home page works perfectly but i got access denied error on trying to navigate to other pages. do i need controller for all the pages each? what can i do? please help.


RE: How to integrate already designed html template - InsiteFX - 04-27-2017

See the News tutorial in the CodeIgniter Users Guide.


RE: How to integrate already designed html template - philm - 04-27-2017

Hi,

You would need a 'method' for each page. Whether these methods would all be in a single controller or not is your choice depending on your content.

I suggest you take another look over the tutorials:
https://www.codeigniter.com/userguide3/tutorial/static_pages.html


RE: How to integrate already designed html template - arisroyo - 04-29-2017

You can try this simple template or at least understand how it implemented Smile
https://github.com/scoumbourdis/codeigniter-simplicity