Skip to main content
Topic: How use $context['theme_variant'] in modifications.xml? (Read 1971 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

How use $context['theme_variant'] in modifications.xml?

???
Sorry for my English

Re: How use $context['theme_variant'] in modifications.xml?

Reply #1

hmm... a bit cryptic... ;)
Example?
Bugs creator.
Features destroyer.
Template killer.

Re: How use $context['theme_variant'] in modifications.xml?

Reply #2

Code: [Select]
	<file name="THEMEDIR/css/_light/index_light.css">

_light replace $context['theme_variant']

replace all variants of all themes
Last Edit: April 09, 2015, 08:14:09 am by inter
Sorry for my English

 

Re: How use $context['theme_variant'] in modifications.xml?

Reply #3

Ohh... okay.
I don't think it's possible. And I feel it would be better not to change these files, but just provide and load a separated file.
Bugs creator.
Features destroyer.
Template killer.