[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!


who are we?

DART Creations is run by David Attard - working in and around the web design niche for more than 12 years, we provide actionable tips for people who work with and on websites. We also run DronesBuy.net - a website for drone hobbyists

David attard

Follow us on Social





Popular Content

Joomla extensions to take your website to the NEXT level

Is your Joomla website reaching its full potential? We install many of these extensions on almost ALL of our Joomla sites - why don't you check them out our list of Joomla Extensions and see whether you can take your site to the next level?

Where are we hosted?

This site is proudly powered by FAST VPS InMotion Servers and given an insane speed thanks to MaxCDN!

Web Hosting MaxCDN - Speed up your website


InMotion Hosting Review - Recommended Web Hosting servers for business, Joomla, WordPress and ecommerce websites.

InMotion Hosting Review

Advertise on DART-Creations.com

DART Creations is interested in developing partnerships with mutual benefit. If you like the stuff we publish and would like to develop a relationship, we'd be happy to hear from you. Go on - drop us a line - we'd love to hear from you :-)

The Outstanding HunGRYJPEG Bundles

AWESOMENESS! Bundles of premium font + graphic packs at more than 96% OFF!  Get this bundle for just $29 - This month ONLY!

The Hungry JPEG Awesome font bundles

New! DIVI 3.0 WordPress TeMPLATE + PageBuilder - 10% OFF Limited Launch offer

You'll surely create a perfect website with Divi 3.0!

Divi 3