Hello to everyone,
I'm posting a solution to those using ZenCart 1.5.x and getting errors during sql installation. I'm also posting a solution to those who don't see this module in admin area.
Run the attached modified sql file. I assigned the configuration group id 65, so check first if any other module isn't using the same id (otherwise you'll get an error). You can check it in your database or simply try to access link when logged in admin yoursite.com/YourAdmin/configuration.php?gID=65 and if you don't see any options, you can run the sql. If you see options for some module, simply replace every "65" in the attached sql file with the number that isn't using any module.
Now replace
Code:
define('BOX_CATALOG_NEWS_ARTICLES', 'News & Articles - Articles');
define('BOX_CATALOG_NEWS_AUTHORS', 'News & Articles - Authors');
in admin/includes/languages/english/extra_definitions/news.php
with
Code:
define('BOX_CONFIGURATION_NEWS_ARTICLES_MANAGEMENT', 'News & Articles Management');
define('BOX_TOOLS_NEWS_ARTICLES', 'News & Articles - Articles');
define('BOX_TOOLS_NEWS_AUTHORS', 'News & Articles - Authors');
Now you should be able to install and also see the configuration under Admin-Configuration-New & Articles Management. You can add articles and authors under Admin-Tools-News & Articles Management and Admin-Tools-News & Articles Authors
For those who got it installed with original sql but don't see it in admin, make the code replacement above and then find out what configuration group ID is using the module. Check it in database or simply go to Admin-Configuration-New & Articles Management and have a look at the link in your browser. It should look like this yoursite.com/YourAdmin/configuration.php?gID=XX where XX is the configuration group id. Now put this number instead of XX in gID=XX to the following sql query:
Code:
# Register the page for Admin Access Control
INSERT INTO admin_pages (page_key,language_key,main_page,page_params,menu_key,display_on_menu,sort_order)
VALUES ('configNewsArticlesManagement','BOX_CONFIGURATION_NEWS_ARTICLES_MANAGEMENT','FILENAME_CONFIGURATION','gID=XX','configuration','Y',65);
INSERT INTO admin_pages (page_key,language_key,main_page,page_params,menu_key,display_on_menu,sort_order)
VALUES ('toolsNewsArticles','BOX_TOOLS_NEWS_ARTICLES','FILENAME_NEWS','gID=XX','tools','Y',66);
INSERT INTO admin_pages (page_key,language_key,main_page,page_params,menu_key,display_on_menu,sort_order)
VALUES ('toolsNewsAuthors','BOX_TOOLS_NEWS_AUTHORS','FILENAME_NEWS_AUTHORS','gID=XX','tools','Y',67);
Now run this query in Admin-Tools-Install SQL Patches.
Bookmarks