Let’s suppose your Zen Cart module is named MyZenModule
To add a module in admin area in order to beable to manage your module from the backend of a zen cart website you need to:
1. Add a page: /admin/mymodule.php
This will contain all code and template for a simple module or if are too lazy to create a whole structure based on classes.
2. Add page: /admin/inclues/langauges/english/extra_definitions/mymodule.php
It contains all translations. Here it is a basic example:
define(‘BOX_MYMODULE’, ‘MyModule Manager’);
define(‘MYMODULE_HEADING_TITLE’, ‘MyModule Manager’);
3. Add page: /admin/inclues/extra_datafiles/mymodule.php
It contains tables and files used by your module. Here it is an example:
define(‘FILENAME_IMPORT’, mymodule.php’);
define(‘TABLE_HEADING_IMPORT’, ‘MyModule’);
3. Add page: /admin/inclues/boxes/extra_boxes/mymodule_tools_dhtml.php
Based on its name your management module will be present in a specific menu. In thsi specific case it will be under Tools main option menu.
It contains the following code:
if (!defined(‘IS_ADMIN_FLAG’)) {
die(‘Illegal Access’);
}
$za_contents[] = array(‘text’ => BOX_IMPORT, ‘link’ => zen_href_link(FILENAME_IMPORT, ”, ‘NONSSL’));
It is not compulsory .



