Home | Docs  
 
 
   
  Categories




Home
  -  Addons  - 
Addon XML

Addon XML


Addon XML

This file is mandatory for any addon. There main parameters of the addon such as a unique text identifier, name, description, ordinal number in the list, etc. are described.

Every time the Addons page is opened in the admin panel, the system scans all the directories within /addons/ and reads the files addon.xml for uninstalled addons to display them in the list of available ones.

When installing an addon the system saves to the database all data of addon.xml, except for the settings structure that is read from the file every time you work with the addon.

For already installed addons the system calls addon.xml when editing an addon on the Addons page. And the system reads only the section <opt_settings>.

 

Location

File must be located in the root directory of the addon - /addons/[addon_name]/addon.xml

Structure

Click here

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
     
              << Read Previous                                                                                                        Read Next>>
     
Copyright © 2009 SP-CART.COM. All Rights Reserved.