Categories

Featured templates

How to upgrade from Joomla 1.6.x to Joomla 1.7

Rating: 4.6/5. From 5 votes.
Please wait...

According to the Joomla Community News “Version 1.6 will reach end of life on 19 August 2011. All users of version 1.6 should update to version 1.7.0 before that time. The update process to version 1.7 is very simple, and complete instructions are available here.“.

In case you ordered a Joomla 1.6 template and want to use new Joomla 1.7 installation you don’t need to upgrade the Joomla engine. Just download the Joomla 1.7 release and proceed further to the template update.

Joomla 1.6 template update to Joomla 1.7

The template update procedure is not hard and could be completed in a few easy steps

1. Open your template package, go to “joomla” folder and extract the files from the theme###.zip package. If you have installed template go to “templates/theme###directory.

2. Open index.php file with your HTML/PHP editor. Replace:

 <?php if ($this->getBuffer('message')) : ?>
<jdoc:include type="message" />
<?php endif; ?>

with

<jdoc:include type="message" />

3. If you are planning to install the template sample data importing the dump.sql file you need to make sure that the tables prefix in the SQL file is equal with the templates prefix in your database.

Open the template package. Go to sources directory and open dump.sql file with your HTML eitor or notepad. The SQL file should have the code as follows:

The default table prefix is “jos_” Your first database table may have different name but you still will be able to see the table prefix.

4. Ok. Now we know the database table prefix used in the SQL file. In case you are installing Joomla 1.7 from scratch – inout “jos_” prefix into the appropriate field during the instalation process. If you have the Joomla 1.7 engine already installed you need to check what table prefix is used.

Open your Joomla installation directory and there open the configuration.php file. Search for the variable “$dbprefix” (usually line 16):

public $dbprefix = 'p3qyn_';

If the prefix is “jos_” you are free to proceed with the sample data installation. Otherwise go back to the dump.sql file and using the Find and Replace tool ion your HTML editor replace “jos_” prefix with the one from the configuration.php file (in our case: “p3qyn_”).

When the replacement is complete you are free to instal the sample data and use the template

Please note that some Joomla template have more complex structure and the above tutorial won’t help you. In such cases please contact our team using the Online Help Desk. Our technicians will provide you with further assistance.

Joomla Web Templates
This entry was posted in Joomla! Tutorials and tagged archived_tutorial, engine, Joomla, template, theme, update, upgrade. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket