Select Page

Converting your component from Joomla 1.0.8 to Joomla 1.1.X

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.Xhas to be converted in #Joomla 1.1.XWhere
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:

{mosgoogle}

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments

Categories

0
Would love your thoughts, please comment.x
()
x