PDA

View Full Version : Css template caching


scarex
10-16-2010, 09:17 AM
Hello Everybody,
I've tried to put a global variable (that can be set in vbulletin options panel) in vbulletin.css template, but even if I change the variable value, the final css doesn't change, I assume because of caching system.

I've to "modify" css template in some one in order to be regenerated.

Instead, if I modify a style variable (like a color or background image) css is directly generated.

Is there a mechanism to force css to be regenerated, so I and my staff can modify, for instance, backgroun image from vbulletin options panel?

Lynne
10-16-2010, 02:40 PM
That's what creating your own StyleVar should be used for. Go into debug mode, go to the MASTER STYLE > StyleVars > Add New Stylevar

scarex
10-17-2010, 07:49 AM
That's what creating your own StyleVar should be used for. Go into debug mode, go to the MASTER STYLE > StyleVars > Add New Stylevar

I will try, even if I would like to find a mechanism allowing me to use vboptions panel (staff guys managing advertising are not so good with technical stuff...)

--------------- Added 1287384002 at 1287384002 ---------------

For the moment I solved moving the specific css setting from css template to html template.