Just grab "content" from DB and Put Into <div>
Posted: Tue Jul 29, 2008 3:02 am
I just installed CMS Made Simple 1.3.1. I've designed my own site and it's built already. I'm not using any of the templates. I have a div that I just want to populate with the content inputted from the CMS Made Simple admin.
When I view the DB, in the "cms_content_props table," there is a field called "content" that stores the HTML. Is it possible to just use this "content" from associated with a page and populate the ?
I'm sure there is a way to mix some of the script from the index.php file that comes with CMS Made Simple and put it into my site. Meaning I'd use all of the connecting to the db scripts and creation of variables from that index.php. Then also implement the script that accesses the "content" for each page.
Can someone please help me locate which parts of the scripts to incorporate into my site?
I sure hope this was somewhat clear!
I'll certainly clarify if someone is kind enough to respond.
Thanks!
When I view the DB, in the "cms_content_props table," there is a field called "content" that stores the HTML. Is it possible to just use this "content" from associated with a page and populate the ?
I'm sure there is a way to mix some of the script from the index.php file that comes with CMS Made Simple and put it into my site. Meaning I'd use all of the connecting to the db scripts and creation of variables from that index.php. Then also implement the script that accesses the "content" for each page.
Can someone please help me locate which parts of the scripts to incorporate into my site?
I sure hope this was somewhat clear!
I'll certainly clarify if someone is kind enough to respond.
Thanks!