Edit all available Stylesheets in backend

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.
Post Reply
pixelpeter
Posts: 45
Joined: Fri 27. Feb 2004, 16:00

Edit all available Stylesheets in backend

Post by pixelpeter »

If you're used to work with more than one stylesheet per website you'll find it kind of limiting that you can only edit the default stylsheet frontend.css in the backend of phpwcms.

This litte hack gives you the ability to edit all available stylsheets resisting in the folder phpwcms/phpwcms_template/inc_css (same place where you'll find frontend.css.

Have a look at the screenshot to see what it will look like
Image

You can download this mod here:
http://phpwcms.pixelpeter.de/index.php?cssedit
pixelpeter
Posts: 45
Joined: Fri 27. Feb 2004, 16:00

Post by pixelpeter »

Updated this mod an added an URL parameter, so the edited stylesheet is displayed again after saving/page reload and not the default stylesheet as in V0.1 of this hack

You can download this mod here:
http://phpwcms.pixelpeter.de/index.php?cssedit
cmslover
Posts: 86
Joined: Wed 18. Feb 2004, 16:17
Location: USA, Georgia, Atlanta
Contact:

Post by cmslover »

Neato!! Really a time saver! Should be a WCMS 'default feature. Thanks!
jmeyknecht
Posts: 112
Joined: Sun 11. Jan 2004, 23:13
Location: Merseburg, Germany
Contact:

Post by jmeyknecht »

hiho, i included the CSSEdit mod v0.2 but it always overwrites my frontend.css with the changed data and not the stylesheet i selected in the checkbox. :-(
jmeyknecht
Posts: 112
Joined: Sun 11. Jan 2004, 23:13
Location: Merseburg, Germany
Contact:

Post by jmeyknecht »

hmmm. the prob seems to be there only on the WAMP box. on LAMP it's working. maybe different php settings.
argos
Posts: 135
Joined: Mon 15. Mar 2004, 20:02

Post by argos »

jmeyknecht wrote:hmmm. the prob seems to be there only on the WAMP box. on LAMP it's working. maybe different php settings.
Before I will use this hack, I would like to know what LAMP and WAMP boxes are... Something to do with windows and linux perhaps?
Regards,
Jurgen Nijhuis
http://www.argosmedia.nl
jmeyknecht
Posts: 112
Joined: Sun 11. Jan 2004, 23:13
Location: Merseburg, Germany
Contact:

Post by jmeyknecht »

WAMP = Windows Apache MySQL PHP
LAMP = Linux Apache MySQL PHP

box = computer

btw. dunno why the error appeared... now it's working on both boxes
argos
Posts: 135
Joined: Mon 15. Mar 2004, 20:02

Post by argos »

OK, thanks for the fast reply!
Regards,
Jurgen Nijhuis
http://www.argosmedia.nl
Post Reply