Changing css with php

2 posts by 2 authors in: Forums > CMS Builder
Last Post: August 16, 2010   (RSS)

Re: [Jeffncou] Changing css with php

By Jason - August 16, 2010

Hi,

From the sounds of it, you would have a section in CMS Builder where you would create CSS rules. On any given page, you can access these in one of two ways.

One, you could select all of the rules from the database and then output them in the <head> section between <style> tags.

The other option would be to create a script that would write a .css file and then link that file onto your pages. You can then create a link inside CMS Builder that would run your script. Here is another post from another user trying the same thing:
http://www.interactivetools.com/forum/gforum.cgi?post=82129#82129

Hope this helps get you started.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/