Try something like that:
templates->shaper_helix_ii->index.php ->addLess('master', 'template') ->addcss('demo', 'template') ->addLess( 'presets', 'presets/'.$this->helix->Preset() );
What's wrong this code. i can't understand.
Joomla Stack Exchange is a question and answer site for Joomla! administrators, users, developers and designers. It only takes a minute to sign up.Sign up to join this community
I suggest using a module instead of inserting it on a template since template updates usually will break your previous changes. http://extensions.joomla.org/extensions/extension/core-enhancements/coding-a-scripts-integration/flexi-custom-code that module will do the trick for you.