|
I guess this is a question “how to” to Adam and David, as well as being put out to the Plum Community for thoughts and ideas on…
Historically in my work for the Content Management System “backend” for a website I have given the user the ability (for example) when choosing an image for a content page, to choose its placement as left, right, middle. This is a value that is written to the pageContent_db table. THEN my stylesheets have been named “whateverStyle.cfm” and the variable #pImgAlign”# is used in the class definition. Thus the stylesheet takes on a dynamic quality changing what it dishes up by letting the user set values.
What I see with Plum is that “Plum stylesheet names always end in styles.css”
My first thought to accommodate my desire to enable my users to make simple compositional changes to their content pages is to write the class def as an inline declaration in the display code and either leave out (or cascadingly overwrite) the baseStylesheet.css. But this has a cludgy nature and definitely violates the principle of “one for all”
Anyone have any thoughts on this? I may (as usual) be missing the obvious, but I don’t think so. I need to define a CSS class in the stylyesheet and I would like to have database driven variables in the stylesheet to give my users this control.
Yours truly,
Dan Kaufman
An Elephant Never Forgets
|
- [plum] dynamic variables in Plum stylesheets Dan
