Welcome Guest, Not a member yet? Register   Sign In
less static website
#4

[eluser]Bramme[/eluser]
Store the lot in the database, make a MY_Controller library and in the construct, query the database for user added links and send them to your views, with a class global var like $this->data, or maybe with the $this->load->vars() function.

In your views, you can link those user submitted links to a controller that handles the selected link and include the correct view, or get the content from your database.

If you don't want to use a separate controller for your database driven links, use a _remap function in your main controller. Or routes.


Messages In This Thread
less static website - by El Forum - 10-19-2008, 05:27 AM
less static website - by El Forum - 10-19-2008, 10:15 AM
less static website - by El Forum - 10-19-2008, 11:11 AM
less static website - by El Forum - 10-19-2008, 11:29 AM



Theme © iAndrew 2016 - Forum software by © MyBB