Monday, December 9, 2013

How to upgrade from Joomla 1.6.x to Joomla 1.7 in joomla

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:


joomla-update-17


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



How to upgrade from Joomla 1.6.x to Joomla 1.7 in joomla

No comments:

Post a Comment