
Converting your component from Joomla 1.0.8 to Joomla 1.1.X

I am currently in the process of moving all my open source project (7!) in CVS Head to the latest #Joomla API 1.1.X. I’ve tried to summarize in the following table some conversion rules
In #Joomla 1.0.X | has to be converted in #Joomla 1.1.X | Where | |
mosMenuBar::startTable(); | JMenuBar::startTable(); | PHP code | |
defined(‘_VALID_MOS’) or die(‘Direct Access to this location is not allowed.’); | defined( ‘_JEXEC’ ) or die( ‘Restricted access’ ); | PHP code | |
require_once( $mainframe->getPath( ‘toolbar_html’ ) ); | require_once( JApplicationHelper::getPath( ‘toolbar_html’ ) ); | PHP code | |
<?xml version="1.0" encoding="iso-8859-1"?> <mosinstall type="component" version="1.0.0"> …. | <?xml version="1.0" encoding="iso-8859-1"?> <install type="component" version="1.0.0"> …. | Installer XML file | |
More to come… | |||
Bad news
- New code wont work in #Joomla 1.0.X or latest
- New code wont work in Mambo 4.X or latest
Some links which may help also Help You:
- Welcome to the #Joomla! Development Wiki
- Third Party Testing, a forum where third party developer can receive help during the migration
- Make your extentions fit for #Joomla! 1.1
{mosgoogle}