Question
I am attempting to use USERCOLORSURL in conjunction with a session variable.
* Set USERCOLORSURL = %PUBURLPATH%/%MAINWEB%/ClientColors/%SESSION_VARIABLE{"client"}%colors.css%
The session variable is set from an input button with a dropdown list (
ControlsPlugin) in the "beforetext" template.
Setting the session variable works but the display colors don't change immediately.
I must refresh the display or follow a link in order to the color changes to take affect.
Is there a "preferred" method for setting style with one action?
Environment
--
BruceRobertson - 11 Dec 2007
Answer
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.
You will always need to reload the page, if that is what you mean.
--
ArthurClemens - 19 Dec 2007
Thanks for the response.
Can you explain why the 2-pass process does not catch this?
--
BruceRobertson - 19 Dec 2007
The path to your custom CSS file is written in the html. Changing the session won't change the html.
--
ArthurClemens - 19 Dec 2007