By Vishal Agarwal on Sunday, 20 October 2013
Replies 4
Likes 0
Views 1.1K
Votes 0
Hello in EasyDiscuss we have an interface where all modified less files can be complied. How can we achieve that in EasySocial? We need to make some changes to the .less files for color, size etc to be aligned with our site aesthetics.
Hi Jensen,

Sorry for the late reply, I just got back to it.

Yes you are right, here's the style.less copied from wireframe folder:

/**
* @package EasySocial
* @copyright Copyright (C) 2010 - 2013 Stack Ideas Sdn Bhd. All rights reserved.
* @license Proprietary Use License http://stackideas.com/licensing.html
* @author Stack Ideas Sdn Bhd
**/
// Wireframe default theme

// @import "bootstrap/variables";
//@import "component";
@import "variables";


@import "component" is commented by default. I'll try it again, should I enable "bootstrap/variables" as well?

Thanks!
·
Friday, 01 November 2013 01:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Jackson, sorry for the late reply. It seems that "bootstrap/variables" is imported by "components.less" so we can omit it in the template's style.less file.
·
Wednesday, 06 November 2013 10:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Jensen, Yes, I saw that in components.less but I wasn't sure why the duplicate in style.less. Thanks for confirming! All is working now.

I was puzzled with how the less auto compiler works at first, so I was deleting style.css, style1.css, and style.less.cache and my changes are not being reflected right away. Until I accidentally deleted the cache file only and refreshed the page and I'm getting the changes consistently. Is that how it supposed to work? Would be helpful to developers if included in the documentation.
·
Thursday, 07 November 2013 02:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Until I accidentally deleted the cache file only and refreshed the page and I'm getting the changes consistently. Is that how it supposed to work?


Nope. Actually you can leave the cache file there as long as there is a change in any of the less files the compiler knows that it's time to recompile.

(I could only guess that could be the result of fiddling around the files causing perhaps a file modification time mismatch when the compiler tries to compare against the one written in the cache? That's why you had to delete the cache file to compile again. But it's good as long as it's working now. )

Yes, indeed the documentation lacks information on less recompiling right now. Now the developers are focusing on 1.1. Once that is out, there will be a bit of a timeframe for updating the documentation.
·
Thursday, 07 November 2013 11:11
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post