FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Editing static HTML pages and CSS in PHP





simplyw00x
I've built my own CMS system for my website, and I was wondering if anyone knew any good ways of allowing me to let other admins edit the few static pages and the CSS stylesheets in as graphical a way as possible. Ideally some sort of uberpimp AJAX script that lets you add css rules to selectors and stuff, but a simple 'choose colour for x' 'choose width of y' would be fine.

I can write both of these myself but I'd really rather not. Any help?
mathiaus
Well I think a form would be a good idea. Fits and serves the purpose well without being over complicated or using masses of bandwidth.

I'm unable to code this sorry due to time constraints though this is what I would do
Have a form field for everything you want to be able to change
load the pages template ( a copy with variables in place of changeable things)
preg_replace everything witht hat submitted in form
save the template as the actual page

Hope this helps in some way
Matt

Please dont argue in topics. That is spamming and next time you will (both) be warned
simplyw00x
Thanks for the reply; that sounds like a really good system.


Sorry about the argument but it's really annoying to have someone post an 'answer' without even reading the original post...
Related topics
Dynamic User Customizable Sites. CSS + PHP = Awesome!
HTML Tutorials
html and css code from form inputs
Liste des balises html et css
HTML/CSS/any means of doing this.
mod_rewrite in Apache and how does it work?
Flash is for...?
php/HTML pages question
How to change extension php to html but the php script still
apply text to multiple html-pages?
[Guide] HTML and CSS
Where do I find a tutorial? How can I build my site?
planning a site in CSS
HTML Pages within the wiki
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.