(02-21-2015, 08:24 AM)Cantalupo Wrote: Agreement rules: http://forums.sentora.org/showthread.php?tid=126
The repository official it is active.
http://store.sentora.org/repo/
How can I add my module in the official repository?
NOTE: This repository is temporary until our store has been completed.
You can link me (TGates) to it in a PM and I can upload it to the repository.
- Update the links in the module.xml and [modulename].xml to be used in our repo. (See example 1 below)
- [modulename].xml must be included for conformity with repo browser module. (See example 2 below)
Example 1:
file:
module.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<module>
<name>Error Pages</name>
<version>300</version>
<defaultcat>Advanced</defaultcat>
<desc>This module allows the user to edit and restore the Custom Error pages for each of their domains. NOTE: Error pages are added automatically if they are found in the _errorpages directory and if they are a valid error code, and saved in the proper format: [error_number].html</desc>
<type>user</type>
<authorname>TGates</authorname>
<authoremail>user@domain.com</authoremail>
<authorurl>http://www.sentora.org/</authorurl>
<updateurl>http://store.sentora.org/repo/error_pages.xml</updateurl>
</module>
Example 2:
file:
error_pages.xml
Code:
<?xml version="1.0"?>
<updateserver>
<modulename>Error Pages</modulename>
<latestversion>300</latestversion>
<downloadurl>http://store.sentora.org/repo/error_pages.zpp</downloadurl>
<desc>This module allows the user to edit and restore the Custom Error pages for each of their domains. NOTE: Error pages are added automatically if they are found in the _errorpages directory and if they are a valid error code, and saved in the proper format: [error_number].html</desc>
<updatedesc>Updated module for Sentora Panel.</updatedesc>
<authorname>T.Gates</authorname>
<authoremail>user@domain.com</authoremail>
<authorurl>http://www.sentora.org</authorurl>
<ostype>all</ostype>
</updateserver>