Zen Cart Logo
Forums / Addon Sideboxes / Link Manager 3.0 Support Thread

Link Manager 3.0 Support Thread

Views: 486,683

Results 1,921 to 1,940 of 1,988
09 May 2013, 20:11
#1921
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Link Manager 3.0 Support Thread

moksha:

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:
Same way you add ANY admin menu item.. Go back to the link I posted (HINT: it includes a link to the source of the FAQ where more will be revealed).. The configuration menu is SLIGHTLY different (the parameter requirements are different)

09 May 2013, 22:09
#1922
moksha avatar

moksha

New Zenner

Join Date:
Apr 2008
Posts:
73
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

YES!! Thanks for your hint DivaVocals, the Links Manager link is finally showing under the Configuration section of my admin! :clap:

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! :thumbsup:
09 May 2013, 22:38
#1923
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Link Manager 3.0 Support Thread

moksha:

YES!! Thanks for your hint DivaVocals, the Links Manager link is finally showing under the Configuration section of my admin! :clap:

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! :thumbsup:Another satisfied customer.. :laugh: Glad you got it all working..
10 May 2013, 05:39
#1924
gxjenkins avatar

gxjenkins

Zen Follower

Join Date:
Apr 2007
Location:
Tampa, Florida
Posts:
180
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

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.

24 May 2013, 17:23
#1925
julianna avatar

julianna

New Zenner

Join Date:
Dec 2007
Posts:
5
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

Hi everyone..I'm hoping someone can help. I installed the links manager to my latest zen 1.5 version. Actually this is my second attempt at installing...First time around I needed the links in the admin to show for the links configuration, etc..but I decided to uninstall it because I couldn't find an answer anywhere in the forum on how to add them. But somehow I did another search today and was surprised I finally found the recent thread on how to do it and so I re installed the links manager. Ok...the problem I'm having is now I can't add any categories. When I click on the new category button to add, there are no field boxes next to the category title or the description. I've been going crazy trying to figure out why the boxes are missing as this did not happen in my first install...Can someone please help?? Is there anything I can do to add the field boxes in so I can type my category and category description in? Thanks so much. Any help is very much appreciated. :smile:

Regards,
Julianna

24 May 2013, 17:56
#1926
moksha avatar

moksha

New Zenner

Join Date:
Apr 2008
Posts:
73
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

Hi Julianna, did you check to see if all the files of the mod have been uploaded to the right folders and according to the file structure? There might be a file missing somewhere...

13 Aug 2013, 16:33
#1927
waterbender avatar

waterbender

New Zenner

Join Date:
May 2010
Posts:
84
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

Hi, is this module on the plugin page still compatible with the latest zen cart v1.5.1?

13 Aug 2013, 19:33
#1928
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,780
Plugin Contributions:
2

Re: Link Manager 3.0 Support Thread

waterbender:

Hi, is this module on the plugin page still compatible with the latest zen cart v1.5.1?

Yes, if you read the couple of posts above yours.

14 Aug 2013, 00:59
#1929
waterbender avatar

waterbender

New Zenner

Join Date:
May 2010
Posts:
84
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

Thank you.

29 Aug 2013, 03:03
#1930
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Link Manager 3.0 Support Thread

So I've been messing around with this, and discovered something I found odd.. When viewing a specific link category page (http://yoursite.com/index.php?main_page=links&lPath=2), the "Back" button takes you back to the page you were viewing BEFORE you went to the links page..

I found that odd since I would expect that when clicking the back button from the specific links category, I woud be returned to the links homepage.(http://yoursite.com/index.php?main_page=links)

So I made the following change around line 17 of the /includes/templates/YOUR_TEMPLATE/templates/tpl_links_default.php file.
From:

<div class="buttonRow"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>'; ?></div>

To:

<div class="buttonRow back"><?php echo '<a href="' . zen_href_link(FILENAME_LINKS) . '">' . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) .'</a>'; ?></div>

This returns you to the links homepage (http://yoursite.com/index.php?main_page=links) as one would expect.

29 Aug 2013, 04:36
#1931
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Link Manager 3.0 Support Thread

clydejones:

If you are entering a banner image from admin -> extras -> links
you only need to use the following in the image url input box (links_image/goodshepard_logo.gif)
In order for this to work, you will need to have the banner image located on your server in images/links_image/

from admin -> extras -> links categories

You have two choices

  1. similar to the above you only need to use (link_category/clothing.png) Again, the image need to be located on you server in images/link_category/

  2. You can use the browse button to select an image from your PC and then click the save button.
    So found this old post from Clyde..

My question is has anybody been able to add the second option above to the links entry page (admin>extras> links)? I would rather have BOTH options for entering link "banner images".. This way my client doesn't HAVE TO FTP the links "banner" images..

22 Jan 2014, 17:17
#1932
mutinyzoo avatar

mutinyzoo

New Zenner

Join Date:
Mar 2011
Location:
Pensacola, FL
Posts:
88
Plugin Contributions:
2

Re: Link Manager 3.0 Support Thread

moksha:

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)
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:

SELECT *
FROM `your_zc_database`.`configuration_group`
WHERE (`configuration_group_title` LIKE '%link%')
LIMIT 0 , 30

I wonder what it would take to update the plugin so that it would self-register.

22 Jan 2014, 17:23
#1933
mutinyzoo avatar

mutinyzoo

New Zenner

Join Date:
Mar 2011
Location:
Pensacola, FL
Posts:
88
Plugin Contributions:
2

Re: Link Manager 3.0 Support Thread

Also in case it wasn't clear - data that needs to be inserted into the Configuration field includes gID=XX, not just the number.

22 Jan 2014, 17:38
#1934
mutinyzoo avatar

mutinyzoo

New Zenner

Join Date:
Mar 2011
Location:
Pensacola, FL
Posts:
88
Plugin Contributions:
2

Re: Link Manager 3.0 Support Thread

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: 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 ; and specifically ```
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 use ```
  `links_date_added` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
``` but then got errors trying to add a second TIMESTAM field (links_last_modified).

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.
22 Jan 2014, 18:40
#1935
mutinyzoo avatar

mutinyzoo

New Zenner

Join Date:
Mar 2011
Location:
Pensacola, FL
Posts:
88
Plugin Contributions:
2

Re: Link Manager 3.0 Support Thread

Okay seems to be working now. The MySQL statement that will not work under MySQL 5.5.x is the CREATE TABLE links statement which I beleve can be replaced with:

DROP TABLE IF EXISTS `links`;
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` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `links_last_modified` TIMESTAMP,
  `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`)
) ENGINE=MyISAM ;

Differences: updated the DATETIME statements to replace with TIMESTAMP and updated TYPE=MyISAM to ENGINE=MyISAM.

TIMESTAMP has some limitations, but they should not be a problem in this application (unless you are still trying to use it in the year 2030).

22 Jan 2014, 18:57
#1936
mutinyzoo avatar

mutinyzoo

New Zenner

Join Date:
Mar 2011
Location:
Pensacola, FL
Posts:
88
Plugin Contributions:
2

Re: Link Manager 3.0 Support Thread

DivaVocals:

So found this old post from Clyde..

My question is has anybody been able to add the second option above to the links entry page (admin>extras> links)? I would rather have BOTH options for entering link "banner images".. This way my client doesn't HAVE TO FTP the links "banner" images..

Did you ever make any headway on this, DivaVocals? It also appears that at this point one can only upload "link images" via the front end link add, and not the back end.

23 Jan 2014, 00:03
#1937
mutinyzoo avatar

mutinyzoo

New Zenner

Join Date:
Mar 2011
Location:
Pensacola, FL
Posts:
88
Plugin Contributions:
2

Re: Link Manager 3.0 Support Thread

I'm would like Link Manager to display the list of links by category, as opposed to first displaying only the categories, then a page of the links within each category. The format I want is that for each category there will be a heading containing the Name of the Category, followed by a listing of it's associated links. In other words:

CATEGORY1
link title - link description - image
link title - link description - image
link title - link description - image

CATEGORY2
link title - link description - image

ETC

I think this will require some new coding in the tpl_links_default page and will require a multi-table SQL query - like a JOIN (inner, outer, left?).

There are four relevant tables (i think):

  1. link_categories_description which contains link_categories_name
  2. links which contains the link url and image url
  3. links_to_link_categories which associates link_ids with link_categories_id
  4. links_description which contains links_description

I welcome any pointers (towards or away from). :smile:

23 Jan 2014, 09:59
#1938
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Link Manager 3.0 Support Thread

mutinyzoo:

Did you ever make any headway on this, DivaVocals? It also appears that at this point one can only upload "link images" via the front end link add, and not the back end.

My only headway was to pose the question..:smile:

02 Jun 2014, 06:29
#1939
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Link Manager 3.0 Support Thread

DivaVocals:

My only headway was to pose the question..:smile:

so... was making a new sidebox to display links like some of the site I visit... had issues with the admin image thingy... so fixed it tonight. I wanted it to not change the image if updating something else, upload a new image, take one off my server, change directories, change to the default image... got it done..
Attachment 14120
Give me some time and I'll put the code to a clean install and post it back here or to my blog! going to be a busy week again so may take a bit to do.

02 Jun 2014, 07:18
#1940
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Link Manager 3.0 Support Thread

davewest:

so... was making a new sidebox to display links like some of the site I visit... had issues with the admin image thingy... so fixed it tonight. I wanted it to not change the image if updating something else, upload a new image, take one off my server, change directories, change to the default image... got it done..
Attachment 14120
Give me some time and I'll put the code to a clean install and post it back here or to my blog! going to be a busy week again so may take a bit to do.

As always here you come to the rescue!!!:hug: