Having Trouble Compiling the LESS Files

1
0
-1

Bonita version: 6.3.1

Hello,

I am the UX/UI designer for a company using BonitaSoft, and I need to be able to access the CSS files from the portal-theme. I used two less compilers to attempt this feat, and they both bounced back errors saying that multiple variables were undefined. I read something about needing to compile the main.less file first, but that did not work either, as this error came back:

"You are using JavaScript, which has been disabled. (Line: 153) Filename: mixins.less"

If it helps any, I used these compilers: - Simpless: http://wearekiss.com/simpless - Crunch: http://crunchapp.net/

Am I missing a step here? Please let me know if there is any more information you would need from me in order to properly assist me. Thanks!

2 answers

1
0
-1

Hello,

You just have to modify your less as you want, then compile the less. At this step you should get a main.css. Just rename this main.css to bonita.css and upload this file to your bonita-home folder. The path looks like bonita\client\tenants[yourtenantid]\work\theme\portal where "yourtenantid" is an integer which represents your tenant

Hope this information helps you.

Nicolas

1
0
-1

hello, I tried with winless and it works just by compiling main.less

You need to add your less folder and select main.less, then click on compile http://winless.org/

http://winless.org/downloads/WinLess-1.8.3.msi

test with 6.3.2 community less file

Cheers

Comments

Submitted by dtfortier on Thu, 07/24/2014 - 15:19

Ok, so then after I edit the css, do I turn the css file back into a less file in order to upload properly? This is also where I get lost. Or do I just upload the main.css as is?

Notifications