Converting components to be Joomla 1.6 / 1.7 / 2.5 compatible PDF Print E-mail
Monday, 02 January 2012 00:00

Below is a list of some of the things that need changing to do the conversions.

General:-

  • The installer XML manifest file needs numerous changes.
  • The frontend and backend language files need moving into a language folder. They also need placing in a language specific folder within that. (Eg:- language/en-GB/en-GB.com_whatever.ini.)
  • A special language file for use by the installer needs to be added to the same frontend folder. (Eg:- language/en-GB/en-GB.ini.)
  • The install, upgrade and uninstall scripts have been replaced by a single script called in all circumstances. It contains functions called before, after and during extension installation and removal.
  • global variables $mainframe and $option are no longer available.

Backend:-

  • A special language file for use by the admin system needs adding. (Eg:- admin/language/en-GB/com_whatever.sys.ini.) This is used for the installer script, the menu manager views and the admin menu headings.
  • Manual addition of a submenu to the backend admin pages using the JSubMenuHelper is now required. This used to be created automatically by Joomla from the admin entries in the installer XML manifest file.
  • The use of views to allow menu items to be created now appears to be mandatory. Only the tmpl/default.php file needs to be in each view folder.
  • ACL levels and all the other associated stuff!
  • Changes to the way global parameters are managed. (Eg:- The addition of tabs to group different parameter types.)
  • Spacers don't appear to work in the global parameters now.

Frontend:-

  • A change to the way the component parameters are accessed by the frontend scripts.
  • PDF generation doesn't work and so needs disabling.

 

Last Updated on Friday, 10 February 2012 10:41