Quantcast
Channel: Discussions - T3 - Joomla Template Framework
Viewing all articles
Browse latest Browse all 3483

About template.less loading order

$
0
0
Hello!

I've come across with some strange behaviour regarding to the load order of the less files and the use of themes.

The documentation says about file priority

http://www.t3-framework.org/documentation/extend-com-content#isolate-template

This is the priority to use a file:

local folder: {root}/templates/{template-name}/local
template folder: {root}/templates/{template-name}
base theme folder in T3 Framework plugin: {root}/plugins/system/t3/base (bootstrap 2) or {root}/plugins/system/t3/base-bs3 (bootstrap 3)
I have the following files:

{root}/templates/{template}/less/template.less
{root}/templates/{template}/local/template.less
{root}/templates/{template}/local/themes/{theme}template.less

And this is the order they are being loaded:






As you can see, the order is somehow not the one that one would expect as the line #3 should be loaded first as that's the case with for example the core.less file





Is this a bug or am I missing something?

Thanks for your time

Viewing all articles
Browse latest Browse all 3483

Trending Articles