T3 Community Discussion & Support

Let's build the best free Joomla template framework, together!
  1. David
  2. General Discussion
  3. Tuesday, 18 November 2014
  4.  Subscribe via email
Joomla 3.3.6
T3 Plugin 2.4.1
TS BS3 Blank 2.1.6

Hi all

I am working on my site in development mode (using LESS in the local folder).

I have a template.less file which imports my other template LESS files, for example:
@import 'scd-content-bottom.less';


My issue is that when I update any of the LESS files and upload them to the site the changes don't display. In order to get around this, each time I make a change to one of the LESS files I have to compile them on the site, turn off development mode and then the change shows.

Is there a way to use @import without having to compile the LESS files (stay in development mode) every time I make a change?
Comment
There are no comments made yet.
Accepted Answer
Accepted Answer Pending Moderation
0
Votes
Undo
Hi David,

For importing feature, please do not implement in the "local" folder. The local folder aims to put overridden styles only, functionality should not be included.

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

Thank you for your reply. If I were to put these files in the template less folder would they be overwritten when updating the template?

Thanks
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 again,

If you use T3 BS3 Template and customize the template.less file, it would not be overridden, the reason is that we don't often customize the file when upgrading. If a file is in conflict (changed by both user and provider), it'll be overridden when upgrading.

But for safe, please always take a back up before upgrading.

Gardner.
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.