cPAddon Aliases
If an addon could fit into more than one category, simply create an alias. (For example, if a Content Management System could also be a photo gallery, a wiki, etc.) This can be accomplished like so:
package Vendor::CMS::My_Content_Management_System;
use strict;
use warnings;
our $VERSION = 0.1;
my $pkg = __PACKAGE__;
our $meta_info = {
# required, name space for what its an alias for
'alias' => 'Vendor::Blog_Engine::My_Content_Management_System',
# if description is not specified it simply says "This is an alias for: XYZ"
'description' => 'This is a powerful blog engine which also is a CMS',
'security_rank' => 10, # should be the same or higher that what its an
# alias for since it may error out if its below
# your security rank limit
};
1;
Topic revision: r6 - 21 Dec 2010 - 20:56:00 - Main.JustinSchaefer
CpanelAddons.AddonAliases moved from Sandbox.AddonAliases on 18 May 2009 - 17:08 by Main.JustinSchaefer