[How to] Migrate code from Joomla 1.0 to Joomla 1.5

Migrating Joomla 1.0 to Joomla 1.5

One of the tasks DART Creations has been doing lately is to migrate modules / plugins and other software from Joomla 1.0 to Joomla 1.5. Here you will find a number of changes which are required to migrate Joomla software from 1.0 to 1.5. Hopefully this will save others some searching and frustration.

One of the things that has changes is in the name of global variables. The following are a few changes

Joomla 1.0.xJoomla! 1.5Example
$mosConfig_absolute_path JPATH_ROOT C:\xampp\htdocs\joomla15
$mosConfig_live_site JURI::root(); http://localhost/joomla15
  JURI::base(); http://localhost/joomla15/administrator/
  JPATH_BASE C:\xampp\htdocs\joomla15\administrator
  JPATH_COMPONENT C:\xampp\htdocs\joomla15\administrator\components\com_example
  JPATH_COMPONENT_ADMINISTRATOR C:\xampp\htdocs\joomla15\administrator\components\com_example
  dirname(__FILE__) C:\xampp\htdocs\joomla15\administrator\components\com_example
global $database $database =& JFactory::getDBO();  
mosMenuBar::startTable(); JMenuBar::startTable();  
defined('_VALID_MOS') or die('Direct Access to this location is not allowed.'); defined( '_JEXEC' ) or die( 'Go Away' );  
<mosinstall type="component" version="1.0.0"></mosinstall> <install type="component" version="1.0.0"></install>  
$myparam = mosGetParam( $_REQUEST, 'myparam'); $myparam = JRequest::getVar('myparam');  
global $my; $user = & JFactory::getUser();  


Links which can also aid your migration to Joomla 1.5

The following seems to be a very good forum post about the changes from 1.0 to 1.5





More details will be added as we acquire it :)

One more thing...

Do you have friends or a Facebook group who you think would find this useful? Share this with them and then let me know what they think.

Want to supercharge your website?

Our website loads FAST ... just 1.29 seconds. We're hosted on FAST InMotion VPS servers We want YOUR website to be fast too, so we've gotten you an exclusive deal - 47% OFF for DART Creations friends + FREE domain! Check it out NOW!