Welcome Guest, Not a member yet? Register   Sign In
How to do this?
#1

[eluser]JanDoToDo[/eluser]
Hey guys,

I am currently starting on a small CMS and i would like to know where to begin!

I want to make every page editable/addable/removable and so I want to have a default controller load up and then choose the page to go to. I'm not sure how to do this however, Would I set somewthing up in MY_Controller which determines the page (as i want to have default, blog and account controllers) and then routes to the controller I want? (so actually i would have default, page, blog and account controllers).

Is this the best way to do it? What would I do to determine which page to go to? Would I check the uri(1) against a database and if there is a match use the data from that row? What would be the typical data in that row?

Many thanks,


Messages In This Thread
How to do this? - by El Forum - 01-11-2010, 04:35 PM
How to do this? - by El Forum - 02-10-2010, 10:49 PM



Theme © iAndrew 2016 - Forum software by © MyBB