ElkArte Community

Extending Elk => Addons => Addons ideas and questions => Topic started by: inter on April 09, 2015, 05:58:57 am

Title: How use $context['theme_variant'] in modifications.xml?
Post by: inter on April 09, 2015, 05:58:57 am
???
Title: Re: How use $context['theme_variant'] in modifications.xml?
Post by: emanuele on April 09, 2015, 06:59:53 am
hmm... a bit cryptic... ;)
Example?
Title: Re: How use $context['theme_variant'] in modifications.xml?
Post by: inter on April 09, 2015, 08:07:49 am
Code: [Select]
	<file name="THEMEDIR/css/_light/index_light.css">

_light replace $context['theme_variant']

replace all variants of all themes
Title: Re: How use $context['theme_variant'] in modifications.xml?
Post by: emanuele on April 09, 2015, 09:10:52 am
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.