Actions

Extensions GPL notices

From Joomla! Documentation

Revision as of 00:53, 9 May 2010 by Horus 68 (Talk | contribs)

Quill icon.png
Content is Incomplete

This article or section is incomplete, which means it may be lacking information. You are welcome to assist in its completion by editing it as well. If this article or section has not been edited in several days, please consider helping complete the content.
This article was last edited by Horus 68 (talk| contribs) 3 years ago. (Purge)

Contents

To list your file in JED under GPL license its required 3 things

All source code files in the core Joomla distribution must contain the following comment block as the header:

1- PHP files

Notice at the top of each php file stating that it is distributed under the terms of the GPL

as in this comment block as the header:

<?php
/**
 * @package Module XYZ for Joomla! 1.5
 * @version $Id: mod_XYZ.php 599 2010-03-20 23:26:33Z you $
 * @author YOUR NAME HERE
 * @copyright (C) 2010- YOUR NAME HERE
 * @license GNU/GPL http://www.gnu.org/copyleft/gpl.html
**/

2- XML file

A <license> tag in your extension's XML file stating that it is under GPL, as in this tags for a module:

<?xml version="1.0" encoding="utf-8"?>
<install type="module" version="1.5.0">
        <name>Extension name goes here</name>
        <creationDate>20 April 2010</creationDate>
        <author>Author name goes here</author>
        <copyright>Copyright holder name goes here</copyright>
        <license>GNU/GPLv3 http://www.gnu.org/copyleft/gpl.html</license>
        <authorEmail>you@youremail.com</authorEmail>
        <authorUrl>http://www.yoursite.com</authorUrl>
        <version>1.0</version>
        <description>DESCRIPTION GOES HERE</description>

For GPL you could use other versions of the license:

3- TXT file

Provide a copy of the GPL license within your package

  • note: this file doesn't need to be installed with the extension, just included with the package as a text file

Libraries

Libraries (Js scripts, flash) can be licensed under other licenses as in: