Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to write a Custom Module ?(Box Module in the left column)


nomail_forme

Recommended Posts

I'm almost done recreating my template from 2.2 to 2.3.1. Right now i'm trying to implement a a custom box which shows up in the left column. In 2.2 it was done with a simple include of the php file. In 2.3.1 i need to redo it as a module.

Can anybody point me on what are the steps involved in writing a boxes module.

 

So far i created 2 files

  1. \includes\modules\boxes\bm_my_box.php
  2. \includes\languages\english\modules\boxes\bm_my_box.php

I am using code from the categories module as reference. I changed class name and MODULE_BOXES_CATEGORIES_TITLE etc defined in english\modu...

It shows up in modules->boxes->install modules as expected in admin panel

BUT instead of having the option of install i'm getting edit and remove. If i hit edit i'm going to editing categories module.

Which part of code should i change ? Why is this happening ?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...