My first post on the forums! Hi everyone!
Im working on a website for a client (and my first one using ModX Revolution) and I have a query which Im hoping someone can advise me on.
The website that I am making for my client has 5 different style sheets (for colours) which I created a TV so that they can choose a number, that number then ammends to the end of the calling of the stylesheet, thus calling the correct css document and rendering the page in that colour. Now this works fine and dandy, but ive decided i want to incorporate everything into Modx.
What i would like to do is make a css document and call the TV from the template to manipulate the TV called in the CSS.
An example.
Page made selects from the TV’s option 1. The page calls the CSS file (made within modx), and it changes the variables based on the selection, page renders with the correct option.
Now i thought this would be as simple as calling the TV in the CSS, however it didnt work...
Can anyone advise me on a way to do this - do i have to load a snippet with the TV in? Or am i over complicating things? I just dont want to add 5 seperate CSS documents when changes might be made to one, I would then have to replicated them to the other 4...
Thanks in advance
Graeme