I was concerned that my inability to run the LESS module successfully was related to my server environment, but I turned off Hexagon and Canvas and instead turned on another theme and was able to compile LESS properly. Could this be related to Hexagon's caching?

CommentFileSizeAuthor
#3 less_compatibility.zip6.03 KBdvessel
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dvessel’s picture

I looked at what LESS module was doing and found the cause. It's the preprocess functions that modifies the css files. The smarter styles plug-in from Hexagon conflicts with this. I'll post a compatibility plug-in later that you can drop into your theme.

lindsayo’s picture

That would be awesome, dvessel, thank you.

dvessel’s picture

FileSize
6.03 KB

Drop this into your theme folder and clear the cache. This is only a temporary solution. In Drupal 7 it shouldn't even be needed since it gives us access to a css alter hook.

This plug-in may not be pretty but it should work. Tell me if it does or not.

lindsayo’s picture

Thanks, dvessel, this is working. You saved me a lot of time b/c I can now use LESS. Thank you so much. :)