Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8761525
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T15:18:24+00:00 2026-06-13T15:18:24+00:00

I’m developing an extension (module) that I want to be compatible with Joomla 1.5,

  • 0

I’m developing an extension (module) that I want to be compatible with Joomla 1.5, 2.5 and 3.0 if possible. My main issue is getting around the different XML files needed. I decided to create a manifest.xml file for Joomla 1.5 with the <install> tag and a mod_mymodule.xml file for Joomla 2.5/3.0 with a <extension> tag with the mod_mymodule.xml containing fieldsets etc. whilst the manifest.xml contains the <params>.

My issue is that my extension installs absolutely fine on Joomla 3.0 (on localhost). However when installing on a Joomla 2.5, nothing showed up under the parameters. What is the priority for Joomla 2.5 and why it using the manifest.xml file with the install tags instead of the mod_mymodule.xml file?

Does Joomla 2.5 prioritize an <install> tag at the top of an XML file over another XML file in the same directory with an <extension> tag?

Manifest File:

<?xml version="1.0" encoding="utf-8"?>
<install type="module" client="site" method="upgrade" version="1.5">
    <name></name> 
    <author>George Wilson</author> 
    <creationDate>05-Mar-2012</creationDate> 
    <copyright></copyright> 
    <license>http://www.gnu.org/licenses/gpl-3.0.html</license> 
    <authorEmail></authorEmail> 
    <authorUrl></authorUrl> 
    <version>1.1.1</version> 
    <description></description>
    <files>
            <filename module="mod_mymodule">mod_mymodule.php</filename>
            <filename>manifest.xml</filename>
            <filename>index.html</filename>
            <filename>helper.php</filename>
            <folder>assets</folder>
            <folder>tmpl</folder>
    </files>

    <languages>
        <language tag="en-GB">language/en-GB/en-GB.mod_mymodule.ini</language>
    </languages>

    <params>
        <param name="blah" type="text" default="5" label="Label" description="Description" />
    </params>
</install>

mod_mymodule.xml file:

<?xml version="1.0" encoding="utf-8"?>
<extension type="module" client="site" method="upgrade">
    <name></name> 
    <author>George Wilson</author> 
    <creationDate>05-Mar-2012</creationDate> 
    <copyright></copyright> 
    <license>http://www.gnu.org/licenses/gpl-3.0.html</license> 
    <authorEmail></authorEmail> 
    <authorUrl></authorUrl> 
    <version>1.1.1</version> 
    <description>Description</description>
    <files>
            <filename module="mod_mymodule">mod_mymodule.php</filename>
            <filename>mod_mymodule.xml</filename>
            <filename>index.html</filename>
            <filename>helper.php</filename>
            <folder>assets</folder>
            <folder>sql</folder>
            <folder>tmpl</folder>
    </files>

    <languages>
        <language tag="en-GB">language/en-GB/en-GB.mod_mymodule.ini</language>
        <language tag="en-GB">language/en-GB/en-GB.mod_mymodule.sys.ini</language>
    </languages>

    <install>
        <sql>
            <file driver="mysql" charset="utf8">sql/install.mysql.utf8.sql</file>
        </sql>
    </install>
    <uninstall>
        <sql>
            <file driver="mysql" charset="utf8">sql/uninstall.mysql.utf8.sql</file>
        </sql>
    </uninstall>

    <config>
        <fields name="params">
            <fieldset name="basic">
                <field name="moduleclass_sfx" type="text" default="" label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL" description="COM_MODULES_FIELD_MODULECLASS_SFX_DESC" />
            </fieldset>                 
        </fields>
    </config>
</extension>

Errors:
Beneath position parameter:
( ! ) Notice: Trying to get property of non-object in ROOT\administrator\components\com_modules\views\module\tmpl\edit.php on line 50

Beneath ordering parameter
( ! ) Notice: Trying to get property of non-object in C:\wamp\www\joomla25\administrator\components\com_modules\views\module\tmpl\edit.php on line 61

It also says Module XML data not available at the bottom.

Update: Upon inspection it is definitely the manifest.xml file that is installing rather than the mod_mymodule.xml that I want the Joomla 2.5 to use.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T15:18:25+00:00Added an answer on June 13, 2026 at 3:18 pm

    struture of both should be manifest.xml :-

    <?xml version="1.0" encoding="utf-8"?>
    <install type="module" version="2.5" method="upgrade">
         <name>my module</name> 
        <author>George Wilson</author> 
        <creationDate>05-Mar-2012</creationDate> 
        <copyright></copyright> 
        <license>http://www.gnu.org/licenses/gpl-3.0.html</license> 
        <authorEmail></authorEmail> 
        <authorUrl></authorUrl> 
        <version>1.1.1</version> 
        <description>Description</description>
    
        <!-- Installation -->   
        <!--<install>
            <sql>
                <file driver="mysql" charset="utf8">mod_mymodule/sql/install.mysql.utf8.sql</file>
            </sql>
        </install>
        <installfile>install/install.php</installfile>
        <uninstall>
            <sql>
                <file driver="mysql" charset="utf8">mod_mymodule/sql/uninstall.mysql.utf8.sql</file>
            </sql>
        </uninstall>
        <uninstallfile>install/uninstall.php</uninstallfile>
    
        <languages>
            <language tag="en-GB">language/en-GB/en-GB.mod_mymodule.ini</language>
            <language tag="en-GB">language/en-GB/en-GB.mod_mymodule.sys.ini</language>
        </languages>-->
    
        <!-- Modules -->
                <files folder="mod_mymodule">
                    <filename module="mod_mymodule">mod_mymodule.php</filename>
                    <filename>mod_mymodule.xml</filename>
                    <!--<filename>index.html</filename>
                    <filename>helper.php</filename>
                    <folder>assets</folder>
                    <folder>sql</folder>
                    <folder>tmpl</folder>-->        
                </files>
    </install>
    

    And the module file should be module.xml

    <?xml version="1.0" encoding="utf-8"?>
    <extension type="module" client="site" method="upgrade" version="2.5">
        <name>my module</name> 
        <author>George Wilson</author> 
        <creationDate>05-Mar-2012</creationDate> 
        <copyright></copyright> 
        <license>http://www.gnu.org/licenses/gpl-3.0.html</license> 
        <authorEmail></authorEmail> 
        <authorUrl></authorUrl> 
        <version>1.1.1</version> 
        <description></description>
        <files>
                <filename module="mod_mymodule">mod_mymodule.php</filename>
                <filename>mod_mymodule.xml</filename>
               <!-- <filename>index.html</filename>
                <filename>helper.php</filename>
                <folder>assets</folder>
                <folder>tmpl</folder>-->
        </files>
    
        <config>
            <fields name="params">
                <fieldset name="basic">
                    <field name="moduleclass_sfx" type="text" default="" label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL" description="COM_MODULES_FIELD_MODULECLASS_SFX_DESC" />
                </fieldset>                 
            </fields>
        </config>
    </extension>
    

    hope this help you only change params for 1.5 teated on my demo and commit out if you want include some more file please create a module package and your sturuture sholu be

    a. manifest.xml
    b. mod_mymodule (dir) and zip both in one. not add manifest in module folder

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I'm working with an upstream system that sometimes sends me text destined for HTML/XML
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I want to count how many characters a certain string has in PHP, but
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I've got a string that has curly quotes in it. I'd like to replace
I want use html5's new tag to play a wav file (currently only supported
In my XML file chapters tag has more chapter tag.i need to display chapters

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.