Welcome Guest, Not a member yet? Register   Sign In
How to integrate already designed html template
#1

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.
Reply
#2

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 )
Reply
#3

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
Reply
#4

You can try this simple template or at least understand how it implemented Smile
https://github.com/scoumbourdis/codeigniter-simplicity
There are those who tell lies with meaning behind them and those meaning less lies!
Reply




Theme © iAndrew 2016 - Forum software by © MyBB