Get XOOPS XOOPSXOOPS FAQFAQ ForumsForums NewsNews ThemesThemes ModulesModules

Search

Donate to XOOPS!

Please select an amount to donate


Do you want your username revealed with your donation?
Yes - List me as a Generous Donor
No - List my donation as from an Anonymous Donor


Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

admin Arabic banner block Christmas comments cumulus DayDawn dhsoft e-Commerce E-Learning Git Google GUI hacks instant-zero jQuery module mygalleries news Nordic Olédrion oxygen PageRank PHP rmcommon security SEO simple-XOOPS Smarty sport tag Theme tutorial wiki WOX xoops XoopsEngine ZendFramework

New Users

Registering user

# 133946

HamptonUdolf

Welcome to XOOPS!
[Main Page]

Dev:release structure

From XOOPS Web Application System

Main Page | Recent changes | Edit this page | Page history | Switch to MediaWiki mode

Printable version | Disclaimers | Privacy policy
Category: Development

The distribution of the new release has to be structured in a specific way to make it easy for users to install the module. Eventually, this structure may lead to the implementation of an automated module installer, using this structure as a basis to locate the right files.

First of all, the format. Modules should come in .zipped format or in a Linux tarball. Both is also good (even better!)

The release structure should be like this:

/Distribution root
/README.TXT
/LICENSE.TXT
/INSTALL.TXT
/UPGRADE.TXT (if applicable)
/CHANGELOG.TXT (if applicable)
/LANG_DIFF.TXT (if applicable)
/modulename/xoops_version.php
/modulename/admin/
/modulename/blocks/
/modulename/templates/

This way, a user can unpack a module and drag it to the xoops_site_root/modules/ folder to make it ready for install. Because the documentation is for the user only (and not needed by the system), they are kept out of the module's main folder.

Retrieved from "http://xoops.org/modules/mediawiki/index.php/Dev:release_structure"

This page has been accessed 2,924 times. This page was last modified 21:54, 9 April 2010. Content is available under XOOPS Web Application System.