Joomla extensions have moved!

Galaxiis (formely www.waltercedric.com) creates industry leading premium Joomla Extensions and is the longest running Joomla extensions provider since 2005.

Powerful Joomla extensions. - Excellent documentation. - Amazing support.

Visit now www.galaxiis.com

joomla_cms

I am  in the process of  moving all my open source project (7!)  to the latest Joomla API 1.5. I've tried to summarize in the following table some conversion rules

Right now there IS NOT any order in that table, like my findings :-)

Feel free to send me corrections or point me to  ressource links that may help me :-)

 
In Joomla 1.0.X has to be converted in Joomla 1.5 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
global $database $database = & JFactory::getDBO(); PHP code
$mosConfig_live_site JURL_SITE PHP code
$mosConfig_absolute_path JPATH_SITE PHP code
$mosConfig_* $config->* PHP code
$refid = mosGetParam( $_REQUEST, 'refid');
$refid= = JRequest::getVar('refid');
PHP code
Language files

are  PHP files, name like you want

<?php
/*
 * Created on Jan 7, 2007
 *
 */
DEFINE("JOOMLA_ASKIMET_ASKIMET_KEY_S", "Askimet Key:");
DEFINE("JOOMLA_ASKIMET_ASKIMET_KEY_L", "Your askimet key, can be request here for free, if you have a high intensive site, please require a commercial key to keep the system up and running");

DEFINE("JOOMLA_ASKIMET_ASKIMET_KEY_S", "Website URL:");
DEFINE("JOOMLA_ASKIMET_ASKIMET_KEY_L", "Website or Blog URL, if different than the JOOMLA site");
?>


Are now plain text files: ex en-GB.com_aksimet.ini

# $Id: en-GB.com_askimet.ini 7177 2007-04-23 06:42:21Z tcp $
# Akismet4Joomla Project
# Copyright (C) 2007 Cédric Walter. All rights reserved.
# License http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
# Note : All ini files need to be saved as UTF-8

JOOMLA_ASKIMET_ASKIMET_KEY_S=Askimet Key:
JOOMLA_ASKIMET_ASKIMET_KEY_L=Your askimet key, can be request here for free, if you have a high intensive site, please require a commercial key to keep the system up and running
JOOMLA_ASKIMET_ASKIMET_KEY_S=Website URL:
JOOMLA_ASKIMET_ASKIMET_KEY_L=Website or Blog URL, if different than the JOOMLA site
Resources
Language files in installer

were normal file in either the administration area or public component area.

      <filename>en-GB.com_aksimet.ini</filename>
      <filename>de-DE.com_aksimet.ini</filename>
      <filename>fr-FR.com_aksimet.ini</filename>
They now have their own tag in either the administration or public area of the component

     <languages>
      <language tag="en-GB">en-GB.com_aksimet.ini</language>
      <language tag="de-DE">de-DE.com_aksimet.ini</language>
      <language tag="fr-FR">fr-FR.com_aksimet.ini</language>
    </languages>
Installer
Structure of file



<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE install SYSTEM "http://dev.joomla.org/xml/1.5/component-install.dtd">
<install type="component" version="1.5.0">
    <name>akismet</name>
    <productName>Akismet</productName>
    <creationDate>07.01.2007</creationDate>
    <version>1.5.0</version>
    <joomlaVersion>1.5.0</joomlaVersion>
    <author>Cédric Walter</author>
    <authorName>Cédric Walter</authorName>
    <authorEmail>This email address is being protected from spambots. You need JavaScript enabled to view it.</authorEmail>
    <authorUrl>www.waltercedric.com</authorUrl>
    <productPicture>akismet.png</productPicture>
    <productUrl>http://www.waltercedric.com/</productUrl>
    <setupUrl>http://www.waltercedric.com/updates/</setupUrl>
    <trackerUrl>http://bugs.waltercedric.com</trackerUrl>
    <copyright>(c) 2007 Cédric Walter www.waltercedric.com </copyright>
    <license>GNU GPL</license>
    <licenseText>
    This software is released under the terms and conditions of the
    &lt;a href="http://www.gnu.org/copyleft/gpl.html"
      target="_blank"&gt;GNU General Public License&lt;/a&gt;.
    For more information, please see the LICENCE file accompanying
    the installation package.
  </licenseText>
    <description>Akismet is an Oracle telling if comment entries are spams or not</description>
    <warning>
  Warranty&lt;br /&gt;
  This program is distributed in the hope that it will be useful, but WITHOUT ANY
  WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  PARTICULAR PURPOSE.
  &lt;p&gt;&lt;a href="http://wiki.waltercedric.com" target="_blank"&gt;Online documentation&lt;/a&gt;, and my forum at  which is updated
  regurarly as we receive bug reports.
  </warning>
    <credits> </credits>
    <installfile>install.akismet.php</installfile>
    <uninstallfile>uninstall.akismet.php</uninstallfile>
   
    <!-- Site Main Language File Copy Section -->
    <languages>
      <language tag="en-GB">en-GB.com_akismet.ini</language>
      <language tag="de-DE">de-DE.com_akismet.ini</language>
      <language tag="fr-FR">fr-FR.com_akismet.ini</language>
    </languages>
   
    <administration>
        <menu img="components/com_akismet/aksimet.png>Akismet</menu>
        <submenu>
            <menu task="settings" icon="config.png">Edit Settings</menu>
            <menu task="about" icon="credits.png">About Akismet4Joomla</menu>
            <menu task="troubles">Troubleshootings</menu>
            <menu task="developer">For developer</menu>
            <menu task="checkLatestVersion">Check for Update</menu>
        </submenu>
       
        <!-- Site Main Media File Copy Section -->
        <media destination="com_akismet">
          <filename>akismet-nigel.png</filename>
        </media>
        <files>
            <filename>language.php</filename>
            <filename>config.akismet.php</filename>
            <filename>akismetJoomlaAPI.php</filename>
            <filename>admin.akismet.html.php</filename>
            <filename>admin.akismet.php</filename>
            <filename>toolbar.akismet.html.php</filename>
            <filename>toolbar.akismet.php</filename>
            <filename>index.html</filename>
            <filename>classes/index.html</filename>
            <filename>classes/akismetconfig.php</filename>
            <filename>classes/php4/index.html</filename>
            <filename>classes/php4/Akismet.class.php</filename>
            <filename>classes/php5/index.html</filename>
            <filename>classes/php5/Akismet.class.php</filename>
            <filename>manuals/index.html</filename>   
            <filename>manuals/about.html</filename>
            <filename>manuals/developer.html</filename>
            <filename>manuals/troubles.html</filename>
        </files>
    </administration>
    <params/>
</install>
Installer
Your own menu

  function ABOUT_MENU() {
    mosMenuBar::startTable();
    mosMenuBar::back();
    mosMenuBar::spacer();
    mosMenuBar::endTable();
  }
 
function ABOUT_MENU() {
    JToolBarHelper::back();
    JToolBarHelper::spacer();
  }

no  JToolBarHelper::startTable(); or JToolBarHelper::endTable(); anymore
Menus
  default:
    $default = new MENU_Default();
    break;
MENU_Default()

has disapeared! write your own in between
Menus
require_once (JPATH_BASE . '/classes/akismetconfig.php'); Use constants DS directory separator
require_once (JPATH_BASE . DS.'classes'.DS.'akismetconfig.php');
Coding
global $my; $user = & JFactory::getUser(); Autorisation









Some links which may help also Help You:

 

You might like also

Contest – I offer a book PacktPub “Joomla! 1.5 Development Cookbook”
It starts today. The winner will be announced on October 31, 2010, before Midnight GMT+1. Win a book PacktPub “Joomla! 1.5 Development Cookbook book” Solve real world #Joomla! 1.5 development problems with over 130 simple but incredibly useful recipes. http://www.packtpub.com/joomla-15-development-cookbook/book Here are the basics but PLEASE read all the rules. You must be 18 years or older to enter You must be following me http://www.twitter.com/cedricwalter You must send out the following tweet EXACTLY as it appears – failure to do …
2944 Days ago
socialsharing extension for Joomla! 1.5
This small plugin add automatically to any articles a set of social icons that let your reader increase your social ranking. It support Twitter Facebook Google Buzz Digg LinkedIn There is 2 different branches of this plugins depending on your version of #Joomla! Download version 1.5.x for #Joomla! 1.5.x, a running demo of this extension can be seen at http://demo-joomla-1.5.waltercedric.com/ or you can see it in action on this site (I eat my own …
3108 Days ago
Joomla_1.5.23-Stable-Full_PackageForSecurityImages5.1.x_v01.02.00.zip
Only for SecurityImages 5.1.x and #Joomla! 1.5.23 Allow login views, login modules, register, lost password, lost user account and contact section to be protected by SecurityImages Are for #Joomla! 1.5.23 only and SecurityImages 5.1.x or later 14 files has been altered, mostly views, and com_contact/com_user controller, click on picture below for more details Download file Joomla_1.5.23-Stable-Full_PackageForSecurityImages5.1.x_v01.02.00.zip (33kB) and overwrite file on your server with the zip package usign FTP/SCP Go to #Joomla! control panel and HIT at least SAVE configuration …
3112 Days ago
Joomla_1.5.22-Stable-Full_PackageForSecurityImages5.1.x_v01.02.00.zip
Only for SecurityImages 5.1.x and #Joomla! 1.5.22 Allow login views, login modules, register, lost password, lost user account and contact section to be protected by SecurityImages Are for #Joomla! 1.5.22 only and SecurityImages 5.1.x or later 14 files has been altered, mostly views, and com_contact/com_user controller, click on picture below for more details Download file Joomla_1.5.22-Stable-Full_PackageForSecurityImages5.1.x_v01.02.00.zip (33kB) and overwrite file on your server with the zip package usign FTP/SCP Go to #Joomla! control panel and HIT at least SAVE configuration …
3112 Days ago
Joomla! extension plugin photoFEED
PhotoFEED is a small content plugin for #Joomla! 1.5 that allow you to inline a set of images from your favorite online gallery: Smugmug, Flickr, Picasa or any RSS feed in any article. You can see it running here in my Demo site. New version 1.5.0 is available! NEW: use /media directory for resources NEW: online documentation in administrator panel NEW: plugin log data in debug mode at /logs/plg.photofeed.log.php you cant point a browser to it, use FTP/SCP/Plesk/Cpanel to read …
3171 Days ago
Automatic refresh of Joomla! demo site the easy way
These are the script I use to maintains all my 3 demo Joomla! sites: http://demo-joomla-1.0.waltercedric.com/ http://demo-joomla-1.5.waltercedric.com/   http://demo-joomla-1.6.waltercedric.com/ These scripts increased security and are trying to standardized how to create, update and maintain #Joomla! demo site. Feel free to submit, send me ideas how to improve them or ask for help.   This project is hosted at http://forge.joomla.org/gf/project/demosite/ under a GPL v3.0 license and the latest documentation can be found in my WIKI …
3186 Days ago
Joomla! 1.5.22 Released
From the official press release The #Joomla Project announces the immediate availability of #Joomla 1.5.22 [senu takaa ama woi]. This is a security release, and we recommend users upgrade immediately. The Development Working Group's goal is to continue to provide regular, frequent updates to the #Joomla community. Download Click here to download #Joomla 1.5.22 (Full package) » Click here to download #Joomla 1.5.22 (Upgrade packages) » You can also download these files from my Unofficial Miror of Joomla! files (nearly …
3274 Days ago
Joomla_1.5.21-Stable-Full_PackageForSecurityImages5.1.x_v01.02.00.zip
  Only for SecurityImages 5.1.x and #Joomla! 1.5.21 Allow login views, login modules, register, lost password, lost user account and contact section to be protected by SecurityImages Are for #Joomla! 1.5.21 only and SecurityImages 5.1.x or later 14 files has been altered, mostly views, and com_contact/com_user controller, click on picture below for more details Download file Joomla_1.5.21-Stable-Full_PackageForSecurityImages5.1.x_v01.02.00.zip (33kB) and overwrite file on your server Go to #Joomla! control panel and HIT at least SAVE configuration once, this will add a …
3296 Days ago
Smugmug Random Picture plugin
A small Joomla! extension (plugins), highly customizable to display picture randomly from your SmugMug gallery.This plugins displays Smugmug photos using shadowbox. Any improvements, ideas are welcome, use the forum board     Here are some screen shots output   Features Native #Joomla! 1.5 plugins, Code produced is XHTML 1.0 Strict, If you have shadowbox installed, the SmugMug gallery when a user click on a picture will be displayed in a hovering windows CSS driven output, can be manually edited at …
3326 Days ago
Contest - Win a book PacktPub “Joomla! 1.5 Site Blueprints”
It starts today. The winner will be announced on September 25, 2010, before Midnight GMT+1. Win a book PacktPub “Joomla! 1.5 Site Blueprints”   Here are the basics but PLEASE read all the rules. You must be 18 years or older to enter You must be following me http://www.twitter.com/cedricwalter You must send out the following tweet EXACTLY as it appears – failure to do so will disqualify you – do NOT put @ sign in front of cedricwalter anywhere in …
3326 Days ago