I'm using Concrete5 5.6.0 and trying to make my Block
more customisable by using LESS.
I followed the information here: http://www.codeblog.ch/2014/01/concrete5-use-less-files-for-block-templates/ and Remo's code that it links to but getCurrentTemplate()
does not exist on the Controller
What is the correct way for me to get the current template to work with this code?
There is a snippet of code in this howto to get the current template name. Not a complete solution, but maybe it will provide some ideas.
http://www.concrete5.org/documentation/how-tos/developers/load-template-specific-assets/