CodeIgniter Forums
Want to build a CMS - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Want to build a CMS (/showthread.php?tid=25642)



Want to build a CMS - El Forum - 12-18-2009

[eluser]webbug[/eluser]
Hi guys,
I want to build a CMS like CushyCMS using Codeigniter. With CushyCMS you can simply edit the content of an element from the site by assigning a class to the element.

Does anyone know how I can get the content of a div by assigning a class to it? And maybe put the content in a textarea to edit it and then save it.

Thank you.


Want to build a CMS - El Forum - 12-18-2009

[eluser]Ben Edmunds[/eluser]
No offense, but if you don't know how to do this maybe you should start with something easier than a cms.

FYI, most CMS's simply parse the html before outputting and change whatever they need to change.


Want to build a CMS - El Forum - 12-18-2009

[eluser]webbug[/eluser]
None taken.
I can do this. I thought it will be faster if I ask.


Want to build a CMS - El Forum - 12-18-2009

[eluser]Colin Williams[/eluser]
http://us.php.net/dom


Want to build a CMS - El Forum - 12-18-2009

[eluser]webbug[/eluser]
[quote author="Colin Williams" date="1261202705"]http://us.php.net/dom[/quote]
Thank you.