Loading...
 
Skip to main content

Themes


Global theme set?

As the title says, I would like to apply a theme globally to my site (supercede sections, cat., objects) this is primarily for anonymous viewing of course but...

i see the setting seems to be this
"$smarty->assign("style_site", $tikilib->get_preference("style", "default.css"));"
but, being that im on a shell only, i do not know what file that variable is defined in. could someone who knows please tell me?

A theme is already being applied globally to your site (as set in Admin > General). It is global in the sense that it is applied to all Tiki content. The line of code you quoted is just the one that finds the theme set by Admin or the user to be applied.

I'm not sure what you mean by superceding sections, categories, objects, etc. These are styled within each theme's CSS file and thus can vary or be the same depending on how the theme author chose to do it. If you want consistent treatment for these things, you need to find the theme that comes closest to doing that or else make a new theme (stylesheet) that does apply properties to all selectors to produce a consistent, global look, etc.

-- Gary - themes.tw.oQuestion