We moved to new unified forum!

Please post all new support queries in our New Forum.

T3 Community Discussion & Support

Let's build the best free Joomla template framework, together!
  1. Caiman
  2. General Discussion
  3. Tuesday, 11 August 2015
  4.  Subscribe via email
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:


<link rel="stylesheet" href="/vbw/vbw-assets/dev/vbw-default/templates.template.local.less.template.less.css" type="text/css" />
<link rel="stylesheet" href="/vbw/vbw-assets/dev/vbw-default/templates.template.local.less.themes.vbw-default.template.less.css" type="text/css" />
<link rel="stylesheet" href="/vbw/vbw-assets/dev/vbw-default/templates.template.less.template.less.css" type="text/css" />


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


<link rel="stylesheet" href="/vbw/vbw-assets/dev/vbw-default/templates.template.less.core.less.css" type="text/css" />
<link rel="stylesheet" href="/vbw/vbw-assets/dev/vbw-default/templates.template.local.less.core.less.css" type="text/css" />
<link rel="stylesheet" href="/vbw/vbw-assets/dev/vbw-default/templates.template.local.less.themes.vbw-default.core.less.css" type="text/css" />


Is this a bug or am I missing something?

Thanks for your time
Comment
There are no comments made yet.
Accepted Answer Pending Moderation
0
Votes
Undo
Hi,

We will check the issue from our side and confirm with you if its a bug or not.

Regards.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hi !!

Thanks for the answer, really looking forward to hearing from you!
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.