GOOGLE ADWORD - FREE $75 VOUCHER

TAKE IT NOW!! It will not last too long!

  • Send up to 20.000 EMAILS on HIGH SPEED SERVER
  • Publish your business and websites for free
  • Publish your products - direct links to your products
  • Create as many links to your websites as you wish, there is NO "no follow"directive !
  • Drag into your pages YouTube video and Images from the internat as easy as copy & paste the URL or drag & drop the image

Ask for your 3o DAYS free trial
and get $75 GOOGLE ADWORDS VOUCHER FOR FREE

You will be taken to a registration page - Please write that you wish to get BUSINESS CONNECTION FREE TRIAL

There is no catch, just launching a comprehensive business oriented web marketing tool.
Some of our readers will be lucky. BE ONE OF THEM!

Add module in Admin – ZenCart

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 .

Random Posts

1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5.00 out of 5)
Loading ... Loading ...

Leave a Comment