Upgrade Joomla 1.5 to Joomla 1.6

I know how to create a module for Joomla 1.6. But I heard that you can add a Joomla 1.5 parameter set and a Joomla 1.6 parameter set to the same XML installation file to make only one package compatible with 1.6 and 1.5. I tried this trick, but the XML file is not valid.

Can you give an example of an XML file compatible with Joomla 1.5 and Joomla 1.6?

+4
source share
1 answer

I found how to make the module compatible with Joomla 1.5 and Joomla 1.6.

In the XML installation file:

  • Paste the install tag ( <install type="module" version="1.5.0"> )
  • Enable Joomla 1.5 options. Example:
    <params>
    <param type="radio" name="autoplay" default="0" label="autoplay">
    <option value="1">JTRUE</option>
    <option value="0">JFALSE</option>
    </param>
    </params>

  • Enable Joomla 1.6 options. Example:
    <config>
    <fields name="params">
    <fieldset name="basic">
    <field type="radio" name="autoplay" default="0" label="autoplay">
    <option value="1">JTRUE</option>
    <option value="0">JFALSE</option>
    </field>
    </fieldset>
    </fields>
    </config>

Then update the Joomla 1.5 language files to work with Joomla 1.6. Joomla 1.6 files can be used in Joomla 1.5. See [Http://docs.joomla.org/Specification_of_language_files] [1]

[1]: Language file specification

+1
source

All Articles