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...
Joomla General
- Subscribe to this category
- Subscribe via RSS
- 148 posts in this category
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...
In the installation of Joomla 2.5, the Joomla Meta Tag "generator" will set automatically by Joomla. This tutorial shows you, how can you remove this Meta Tag and minimize thereby your source code. Besides, by removing the Joomla Meta Tag "generator", the explizite search after Joomla CMS Websites by hackers becomes more difficult.
Recent Comments
-
Show all comments
-
How to remove it from feed xml? like this : site.com/test?format=feed -
Thanks! -
Great.... The Best ever...
With the release of Joomla 2.5, the ACL of your Joomla CMS will be more comfortable. You can add new users, user groups or access levels and combine them with each other. You can manage the access control in the User Manager of your Joomla 2.5 Administration. Use the path: "Joomla 2.5 Administration" - "Users" - "User Manager"
That remains and that is new!