Occasionally it is possible, that the author of a Joomla 1.5 template do not evolve this template for Joomla 2.5. If you want to use your template in Joomla 2.5, you have to make the following easy changes in the template files.
1. Step: index.php
Change and add the following lines in the index.php of your Template:
Change:
defined( '_JEXEC' ) or die( 'Restricted access' );
to:
defined( '_JEXEC' ) or die;
Change:
$mainframe->getCfg( 'live_site' );
to:
$app->getCfg( 'live_site' );
Add following line in your index.php:
$app = JFactory::getApplication();
2. Step: template.css
Change and add the following lines in the template.css...
Subscribe to this list via RSS
Blog posts tagged in Upgrade Joomla 1.5 Template to Joomla 2.5 Template
Occasionally it is possible, that the author of a Joomla 1.5 template do not evolve this template for Joomla 2.5. If you want to use your template in Joomla 2.5, you have to make the following easy changes in the template files.
1. Step: index.php
Change and add the following lines in the index.php of your Template:
Change:
defined( '_JEXEC' ) or die( 'Restricted access' );
to:
defined( '_JEXEC' ) or die;
Change:
$mainframe->getCfg( 'live_site' );
to:
$app->getCfg( 'live_site' );
Add following line in your index.php:
$app = JFactory::getApplication();
2. Step: template.css
Change and add the following lines in the template.css...