Zencart v1.5 have changed how modules have to register to appear in the admin, this involves two changes.
Additional script, to run after the original version in the zip file.
This registers the page in the new Admin_Pages table:
Code:
#Get Configuration group id
SELECT (@configuration_group_id:=configuration_group_id)
FROM configuration_group
WHERE configuration_group_title= 'Facebook Catalog Browser'
LIMIT 1;
# Register the pages for Admin Access Control
INSERT INTO admin_pages (page_key,language_key,main_page,page_params,menu_key,display_on_menu,sort_order)
VALUES ('configeCommerceBrowser','BOX_CONFIGURATION_ECOMMERCEBROWSER','FILENAME_CONFIGURATION',concat('gID=',@configuration_group_id),'configuration','Y',@configuration_group_id);
Then we need to add a new language entry to give the Module it's title. Quickest solution will be to add it to the existing admin language file
e.g. in /admin/includes/languages/english.php
search for "BOX_CONFIGURATION_EZPAGES_SETTINGS" and on a new line below, add:
Code:
define('BOX_CONFIGURATION_ECOMMERCEBROWSER', 'Facebook eCommerce Browser');
Then refresh the admin and the menu item should appear.
Bookmarks