Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

add new infobox


tikidiboo

Recommended Posts

Posted

Hi,

I am trying to add a new infobox called services. V2.3.1

 

I have added 2 new files bm_services.php

(copied bm_information.php and changed all the constants INFORMATION to SERVICES etc and changed class bm_information to bm_services.

 

 

All seems to work fine until you go into modules - boxes in the admin and click on the services the blue arrow to the right dosnt appear and it dosnt install.

 

Any ideas

 

Cheers Andy

Posted

Did you change bm_information to bm_services in the module file (3 places?)

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Posted

Did you change bm_information to bm_services in the module file (3 places?)

 

Regards

Jim

 

sorry when you say module file.. you mean?

 

ive used a search through the site source and only find bm_information referenced in the bm_information.php file

Posted

catalog/includes/modules/bm_information.php.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Posted

Did you copy (and also modify/rename) the language file in catalog/includes/languages/modules/boxes/?

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Posted

Did you copy (and also modify/rename) the language file in catalog/includes/languages/modules/boxes/?

 

Regards

Jim

 

Spotted this and its now sorted

 

 

class bm_services {

var $code = 'bm_sevices';

var $group = 'boxes';

var $title;

var $description;

var $sort_order;

var $enabled = false;

 

should be bm_services FFS :blush:

Posted

That's why I always use my editor's search & replace to do this, using a copy of the filename from when I renamed it.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Archived

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

×
×
  • Create New...