How to integrate already designed html template |
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.
See the News tutorial in the CodeIgniter Users Guide.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
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/t...pages.html
You can try this simple template or at least understand how it implemented
https://github.com/scoumbourdis/codeigniter-simplicity
There are those who tell lies with meaning behind them and those meaning less lies!
|
Welcome Guest, Not a member yet? Register Sign In |