Converting A Previous Joomla! Version Template
From Joomla! Documentation
Revision as of 09:07, 3 August 2012 by Elin
This is a work in progress.
Converting your template to work with the Joomla 3 release involves a number of steps. Because Joomla 3 uses the Twitter Bootstrap framework many class and id names have changed. Also to take advantage of Bootstrap you will want to include certain files.
This is not going to give you the results you would get by fully incorporating JUI into a template, but it will do as a work around and give some time to transition or fully go in a different direction if you prefer not to incorporate it at all.
|actions||dropdown-menu||This will give you text but no icons|
Add this code before including the head.
Add this code after including your template.css
// If Right-to-Left if ($this->direction == 'rtl') : $doc->addStyleSheet('../media/jui/css/bootstrap-rtl.css'); endif;
// Load specific language related CSS $file = 'language/' . $lang->getTag() . '/' . $lang->getTag() . '.css'; if (JFile::exists($file)) : $doc->addStyleSheet($file); endif;
The front end editor views use tabs to separate editing areas and options. If you don't wish to use these you will need to make an override that does not include this block: