Favourites Create PDF Email Print

How do I upgrade MetaMod when upgrading Joomla 1.0 to 1.5?

Date added:
Monday, 16 February 2009
Last revised:
Tuesday, 16 March 2010
Hits:
702
Rating:
 
Vote for this:
Good - Bad
favoured:
0 Favour

Answer

If you are upgrading your Joomla installation from Joomla 1.0 to Joomla 1.5 I would advise the following:

Watch out for the following differences between Joomla 1.0. and 1.5:
  • In the PHP rules, the “user” variable is named “$my” in MetaMod 1.0, and “$user” in MetaMod 1.5.
  • In the PHP rules, the “database” variable is named “$database” in MetaMod 1.0, and “$db” in MetaMod 1.5.
  • In the PHP rules, the “$id” variable when viewing articles is a simple integer in Joomla 1.0, and a string in Joomla 1.5. e.g. from “5” to “5:Installing Joomla”. You can extract the integer from the front of the string by taking (int)$id
  • There are likely to be other differences in URL parameter structure between the two versions, depending on changes in the other components. Test all your MetaMod rules carefully in the new system.

Category

MetaMod 2.x , MetaMod 1.0

Tags for this item

Joomla 1.0 , Joomla 1.5 , upgrade