Actions

J3.x talk

Difference between revisions of "Converting A Previous Joomla! Version Template"

From Joomla! Documentation

(Created page with "This can be further simplified to two lines of code: JHtmlBootstrap::loadCss($includeMaincss = true, $this->direction); JHtml::_('bootstrap.framework'); The first line load...")
 
m (Hutchy68 moved page Talk:Converting a template for Joomla 3 to J3.1 talk:Converting A Previous Joomla! Version Template without leaving a redirect: no redirect, making the article title generic)
 

Latest revision as of 16:05, 25 April 2013

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.