and a tiptoe through the FAQs yeild this: http://www.zen-cart.com/content.php?...e-v1-5-0-admin
and a tiptoe through the FAQs yeild this: http://www.zen-cart.com/content.php?...e-v1-5-0-admin
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Picandnix, yes, I needed to gain the controls that are in the 'Extras' menu as well, but I managed to solve that, DivaVocal's link was very helpful - thanks Diva! - so, if this can help gxjenkins or anyone else, here's how I added the 3 items to the 'Extras' section in the admin panel:
admin-> admin access management-> admin page registration (tool available only for zc 1.5.x, as I read somewhere)... a page with a form to compile will appear. I compiled the form as follows:
for Links:
Page Key= links
Page Name= BOX_LINKS
Page Filename= FILENAME_LINKS
Page Parameters= leave blank
Menu= select 'Extras' from the dropdown
Display on Menu?= check the display box
Sort Order= 6 (or whatever order number you would like to assign to this item)
... then press 'insert'
for Link Categories:
Page Key= linkcategories
Page Name= BOX_LINK_CATEGORIES
Page Filename= FILENAME_LINK_CATEGORIES
Page Parameters= leave blank
Menu= select 'Extras' from the dropdown
Display on Menu?= check the display box
Sort Order= 7 (or whatever order number you would like to assign to this item)
... then press 'insert'
for Links Contact:
Page Key= linkscontact
Page Name= BOX_LINKS_CONTACT
Page Filename= FILENAME_LINKS_CONTACT
Page Parameters= leave blank
Menu= select 'Extras' from the dropdown
Display on Menu?= check the display box
Sort Order= 8 (or whatever order number you would like to assign to this item)
... then press 'insert'
Now I have all 3 links in the 'Extras' section of the admin. However, still could not solve for the Links Manager link under the 'Configuration' section, the only admin Links Manager files I found in the mod's folder are these:
admin/includes/extra_datafiles/links_manager.php
admin/includes/functions/extra_functions/links_manager.php
... and there are no defines in there for Page Name and Page Filename... could these be created in some way or added perhaps to the existing files?
Last edited by DivaVocals; 9 May 2013 at 09:15 PM.
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
YES!! Thanks for your hint DivaVocals, the Links Manager link is finally showing under the Configuration section of my admin!![]()
To sum things up, and as lat9 says, I created a file called links_manager.php in which I inserted the following:
<?php
define('BOX_LINKS_MANAGER', 'Links Manager');
//EOF
... and uploaded via FTP to admin/includes/languages/english/extra_definitions/links_manager.php.
Then went back to the admin page registration:
for Links Manager:
Page Key= linksmanagerconfiguration
Page Name= BOX_LINKS_MANAGER
Page Filename= FILENAME_CONFIGURATION
Page Parameters= gID=41 (your_domain.com/admin/configuration.php?gID=xx <-- type this address into your browser and keep changing the gID number until you find your Links Manager page)
Menu= select 'Configuration' from the dropdown
Display on Menu?= check the display box
Sort Order= 28 (or whatever order number you would like to assign to this item)
... then press 'insert'
... and that's it, everything is now showing like it should. Thank you so much for all your help!![]()
Last edited by moksha; 9 May 2013 at 11:13 PM.
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Thank you all. I now have the missing links for Link Manager. While adding them I also found the missing configuration page for News & Article Management mod.
Thanks.
Thank you very much, Moksha and Diva Vocals. A potentially faster way to achieve the above quoted step is to find the id number in the database either using phpAdmin or with the following SQL statement:
I wonder what it would take to update the plugin so that it would self-register.Code:SELECT * FROM `your_zc_database`.`configuration_group` WHERE (`configuration_group_title` LIKE '%link%') LIMIT 0 , 30
Also in case it wasn't clear - data that needs to be inserted into the Configuration field includes gID=XX, not just the number.
I'm having trouble installing the SQL file because my server is still using MySQL version 5.5, which does not allow the following statement:and specificallyCode:CREATE TABLE links ( `links_id` int(11) NOT NULL auto_increment, `links_url` varchar(255) default NULL, `links_reciprocal_url` varchar(255) default NULL, `links_image_url` varchar(255) default NULL, `links_contact_name` varchar(64) default NULL, `links_contact_email` varchar(96) default NULL, `links_date_added` datetime NOT NULL default '0000-00-00 00:00:00', `links_last_modified` datetime default NULL, `links_status` tinyint(1) NOT NULL default '1', `links_clicked` int(11) NOT NULL default '0', PRIMARY KEY (`links_id`), KEY `idx_links_date_added` (`links_date_added`) ) TYPE=MyISAM ;.Code:`links_date_added` datetime NOT NULL default '0000-00-00 00:00:00',
The error being that the default value is invalid. Apparently in the latest version of MySQL the DATETIME is allowed.
Two recommended workaround are to use TIMESTAMP instead of DATETIME or to add TRIGGERS to the table.
I was able to usebut then got errors trying to add a second TIMESTAM field (links_last_modified).Code:`links_date_added` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
I installed the table WITHOUT the links_date_added field (might not be necessary), but am getting "WARNING: An Error occurred, please refresh the page and try again."
Insights welcome and I will post solution, of course.