Actions

J3.x talk

Converting A Previous Joomla! Version Template

From Joomla! Documentation

Revision as of 16:05, 25 April 2013 by Tom Hutchison (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This can be further simplified to two lines of code:

JHtmlBootstrap::loadCss($includeMaincss = true, $this->direction);

JHtml::_('bootstrap.framework');

The first line loads cor CSS whereas the second loads core JavaScript. I'd recommend this route for anyone not using LESS in Joomla 3.