Hello MODX Community -
This is my 1st post. Downloaded to try out MODX yesterday for the first time. So far seems pretty awesome - somewhat easy to wrap my head around coming from a background of ExpressionEngine.
Anyway, I was quite pleased to find an addon for Less CSS. I have used Less a few times, big fan. Wanted to get this addon running but I am perhaps misunderstanding something and I do not see my generated css, just the code for the index page. Here is what I've done so far...
I created a blank document under my Resources tab, so far - since I am just starting this morning - it looks like this...
Web
>> Home
>> CSS Less
CSS Less is my document, set to CSS, unchached etc. Then the content for this document is...
[[lessCSS? &path=`assets/less/` &file=`main.less`]]
Then at root/assets/less/main.less is my actual Less file.
Finally, my Hompage template calls the CSS Less doc like this...
<link rel="stylesheet" href="[[~2]]" />
So finally I go to my homepage in the browser, view code and the <link> for the Less generates like so...
<link rel="stylesheet" href="index.php?id=2" />
So then when I click the link inside Chrome's view code page, I only see then the code for the homepage again.
Here is a link to the page...
http://modx.iam-eric.com
Does anyone have a clue what I have misunderstood or have done wrong?
Many Thanks.
Eric