Welcome Guest, Not a member yet? Register   Sign In
Want to build a CMS
#1

[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.
#2

[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.
#3

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

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

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




Theme © iAndrew 2016 - Forum software by © MyBB