tikidiboo Posted August 21, 2011 Posted August 21, 2011 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
♥kymation Posted August 21, 2011 Posted August 21, 2011 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.
tikidiboo Posted August 21, 2011 Author Posted August 21, 2011 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
♥kymation Posted August 21, 2011 Posted August 21, 2011 catalog/includes/modules/bm_information.php. Regards Jim See my profile for a list of my addons and ways to get support.
tikidiboo Posted August 21, 2011 Author Posted August 21, 2011 catalog/includes/modules/bm_information.php. Regards Jim Yes changed all those..... :'(
♥kymation Posted August 21, 2011 Posted August 21, 2011 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.
tikidiboo Posted August 22, 2011 Author Posted August 22, 2011 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:
♥kymation Posted August 22, 2011 Posted August 22, 2011 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.