Welcome Guest, Not a member yet? Register   Sign In
Where do you put the content of the site?
#10

[eluser]Majd Taby[/eluser]
The way I do it is by setting up a "content" table, which has `name`, and `content` fields. The name is an identifier and the content is the content. I manage it all in my backend from one place. Then in my controllers, I simply do

Code:
$this->load->model("content");
  $data['about_us'] = $this->content->loadData('about');

I find it works very well for me.


Messages In This Thread
Where do you put the content of the site? - by El Forum - 12-13-2007, 02:27 PM
Where do you put the content of the site? - by El Forum - 12-13-2007, 02:43 PM
Where do you put the content of the site? - by El Forum - 12-13-2007, 03:07 PM
Where do you put the content of the site? - by El Forum - 12-13-2007, 03:26 PM
Where do you put the content of the site? - by El Forum - 12-13-2007, 03:33 PM
Where do you put the content of the site? - by El Forum - 12-13-2007, 03:48 PM
Where do you put the content of the site? - by El Forum - 12-13-2007, 03:58 PM
Where do you put the content of the site? - by El Forum - 12-13-2007, 08:01 PM
Where do you put the content of the site? - by El Forum - 12-14-2007, 02:09 AM
Where do you put the content of the site? - by El Forum - 12-14-2007, 09:38 AM
Where do you put the content of the site? - by El Forum - 12-14-2007, 06:27 PM
Where do you put the content of the site? - by El Forum - 12-25-2007, 10:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB