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

Link Manager 3.0 Support Thread

Views: 486,750

Results 1,181 to 1,200 of 1,988
17 Oct 2008, 11:44 AM
#1181
stenrique avatar

stenrique

Zen Follower

Join Date:
Apr 2005
Posts:
355
Plugin Contributions:
0

Link Manager 3.0 Support Thread

Hi, I am using a different background color instead of #FFF hence I created 2 customized buttons to be used in place of the ones that come with the mod. I have made the following changes (in blue) in links_manager_defines.php:

define('BUTTON_IMAGE_SUBMIT_LINK', 'button_submit_link_pastel.gif');
define('BUTTON_IMAGE_SUBMIT_LINK_PASTEL', 'button_submit_link_pastel.gif');

define('BUTTON_IMAGE_LINK_HELP', 'button_link_help.gif');
define('BUTTON_IMAGE_LINK_HELP_PASTEL', 'button_link_help_pastel.gif');

I have also made the appropriate changes in tpl_links_submit_default.php but to no avail.

Any advice will be greatly appreciated.

17 Oct 2008, 2:30 PM
#1182
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Link Manager 3.0 Support Thread

Stenrique:

Hi, I am using a different background color instead of #FFF hence I created 2 customized buttons to be used in place of the ones that come with the mod. I have made the following changes (in blue) in links_manager_defines.php:

define('BUTTON_IMAGE_SUBMIT_LINK', 'button_submit_link_pastel.gif');
define('BUTTON_IMAGE_SUBMIT_LINK_PASTEL', 'button_submit_link_pastel.gif');

define('BUTTON_IMAGE_LINK_HELP', 'button_link_help.gif');
define('BUTTON_IMAGE_LINK_HELP_PASTEL', 'button_link_help_pastel.gif');

> I have also made the appropriate changes in tpl_links_submit_default.php but to no avail.
> 
> Any advice will be greatly appreciated.

Make sure you have uploaded your new buttons  to includes/templates/YOUR_TEMPLATE/buttons/english/

*Generally speaking, you shouldn't have to change the define statements for the buttons. Just create your new "pastel" colored buttons and name them (button_submit_link.gif and button_link_help.gif)*
17 Oct 2008, 5:12 PM
#1183
dmagic avatar

dmagic

Totally Zenned

Join Date:
Oct 2008
Posts:
594
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

i have q
why it's good 'link manager' for shop ?

Thanks

17 Oct 2008, 5:21 PM
#1184
stenrique avatar

stenrique

Zen Follower

Join Date:
Apr 2005
Posts:
355
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

Thanks for the prompt reply clydejones.

clydejones:

Make sure you have uploaded your new buttons to includes/templates/YOUR_TEMPLATE/buttons/english/
Yes, I have done that.

clydejones:

*Generally speaking, you shouldn't have to change the define statements for the buttons. Just create your new "pastel" colored buttons and name them (button_submit_link.gif and button_link_help.gif)*As I'm sure you know, the "Submit Link" button is used in both "View All Links" page and "Submit Link" page. The "Submit Link" button is enclosed in a Fieldset in tpl_links_submit_default.php but not in tpl_links_default.php. I only need the "pastel" buttons to appear in tpl_links_submit_default.php and **not **in tpl_links_default.php. By naming the "pastel" buttons as button_submit_link.gif and button_link_help.gif, the "Submit Link" button with the pastel backgrd color wld be displayed in the "View All Links" page which is not what I need.

Incidentally, I also noticed that there is a button named "button_links_help.gif" in the mod. but have not found it used anywhere. May I know on which page I can locate it? Thanks.

17 Oct 2008, 5:50 PM
#1185
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Link Manager 3.0 Support Thread

Stenrique:

Thanks for the prompt reply clydejones.

Incidentally, I also noticed that there is a button named "button_links_help.gif" in the mod. but have not found it used anywhere. May I know on which page I can locate it? Thanks.

open includes/templates/YOUR_TEMPLATE/templates/tpl_links_submit_default.php

find the following sections and make the highlighted changes

<div class="forward"><?php echo '<a href="javascript:popupWindow(\'' . zen_href_link(FILENAME_POPUP_LINKS_HELP) . '\')">' . zen_image_button(BUTTON_IMAGE_LINK_HELP_PASTEL, BUTTON_LINK_HELP_ALT) . '</a><br /><br />'; ?></div>  
<div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_SUBMIT_LINK_PASTEL, BUTTON_SUBMIT_LINK_ALT); ?></div>

Incidentally, I also noticed that there is a button named "button_links_help.gif" in the mod. but have not found it used anywhere. May I know on which page I can locate it?

This button is not used and can safely be deleted.

17 Oct 2008, 5:53 PM
#1186
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Link Manager 3.0 Support Thread

dmagic:

i have q
why it's good 'link manager' for shop ?

Thanks

Links manager is an easy way to set up a links exchange program for your store.

17 Oct 2008, 6:28 PM
#1187
dmagic avatar

dmagic

Totally Zenned

Join Date:
Oct 2008
Posts:
594
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

when i run the 'upgrate'

i got this :

14 statements processed.
Error ERROR: Cannot insert configuration_key "PRODUCTS_OPTIONS_TYPE_SELECT" because it already exists
Error ERROR: Cannot insert configuration_key "UPLOAD_PREFIX" because it already exists
Error ERROR: Cannot insert configuration_key "TEXT_PREFIX" because it already exists
Error ERROR: Cannot insert configuration_key "IH_VERSION" because it already exists
Warning Note: 4 statements ignored. See "upgrade_exceptions" table for additional details.

What's this mean ?

17 Oct 2008, 6:35 PM
#1188
dmagic avatar

dmagic

Totally Zenned

Join Date:
Oct 2008
Posts:
594
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

Hi
can you give me link to demo please ?
how can i cahnge to hebrew language?

Thanks

17 Oct 2008, 6:42 PM
#1189
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Link Manager 3.0 Support Thread

dmagic:

when i run the 'upgrate'

i got this :

14 statements processed.
Error ERROR: Cannot insert configuration_key "PRODUCTS_OPTIONS_TYPE_SELECT" because it already exists
Error ERROR: Cannot insert configuration_key "UPLOAD_PREFIX" because it already exists
Error ERROR: Cannot insert configuration_key "TEXT_PREFIX" because it already exists
Error ERROR: Cannot insert configuration_key "IH_VERSION" because it already exists
Warning Note: 4 statements ignored. See "upgrade_exceptions" table for additional details.

What's this mean ?

It just means that those 4 statements have been ignored. It will have no effect on how the mod functions.

dmagic:

Hi
can you give me link to demo please ?
how can i cahnge to hebrew language?

Thanks

As I think I mentioned to you before, You will have to translate the language files to hebrew

17 Oct 2008, 8:16 PM
#1190
dmagic avatar

dmagic

Totally Zenned

Join Date:
Oct 2008
Posts:
594
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

perfect work with hebrew :clap:

18 Oct 2008, 6:36 AM
#1191
stenrique avatar

stenrique

Zen Follower

Join Date:
Apr 2005
Posts:
355
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

clydejones:

open includes/templates/YOUR_TEMPLATE/templates/tpl_links_submit_default.php

find the following sections and make the highlighted changes

<div class="forward"><?php echo '<a href="javascript:popupWindow(\'' . zen_href_link(FILENAME_POPUP_LINKS_HELP) . '\')">' . zen_image_button(BUTTON_IMAGE_LINK_HELP_PASTEL, BUTTON_LINK_HELP_ALT) . '</a><br /><br />'; ?></div> ``` > > ``` <div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_SUBMIT_LINK_PASTEL, BUTTON_SUBMIT_LINK_ALT); ?></div> ``` I've tested your suggestion and found that the image doesn't appear. Then I discovered that the reason is because the generated code is looking for the buttons' image in "template_default" (as shown in Red below) and that my defines are for some reason not "translated" into the buttons' name (shown in blue): ``` <img src="includes/templates/template_default/buttons/english/BUTTON_IMAGE_LINK_HELP_PASTEL" alt="submit link" title=" submit link"/> ```
<img src="includes/templates/template_default/buttons/english/BUTTON_IMAGE_SUBMIT_LINK_PASTEL" alt="submit link" title=" submit link"/>
  1. How can I make the code references those pastel buttons in my customized template?
  2. How to make the defines "translate" into the buttons' name accordingly?

This button is not used and can safely be deleted. Will do.
Anxiously awaits your reply. Cheers.

18 Oct 2008, 3:07 PM
#1192
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Link Manager 3.0 Support Thread

Stenrique:

I've tested your suggestion and found that the image doesn't appear. Then I discovered that the reason is because the generated code is looking for the buttons' image in "template_default" (as shown in Red below) and that my defines are for some reason not "translated" into the buttons' name (shown in blue):

<img src="includes/templates/template_default/buttons/english/BUTTON_IMAGE_LINK_HELP_PASTEL" alt="submit link" title=" submit link"/>

> 
> ```
<img src="includes/templates/template_default/buttons/english/BUTTON_IMAGE_SUBMIT_LINK_PASTEL" alt="submit link" title=" submit link"/>
  1. How can I make the code references those pastel buttons in my customized template?
  1. How to make the defines "translate" into the buttons' name accordingly?

Will do.
Anxiously awaits your reply. Cheers.

Check your PM

18 Oct 2008, 5:46 PM
#1193
eqdobbs avatar

eqdobbs

New Zenner

Join Date:
Aug 2008
Posts:
5
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

Hi,

Clyde at the top of page 117 you posted a reply regarding my problem with my Links Submit getting a 403 error:

http://www.molliemoo.co.uk/index.php?main_page=links_submit&lPath=2

I have disabled the Magic SEO URL rewriting mod and I am still getting this error.

Do you have any other ideas? I have also been told that the SEO mod should not interfere if there are no rules defined for it.

thanks for your help.

18 Oct 2008, 6:29 PM
#1194
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Link Manager 3.0 Support Thread

eqDoBBs:

Hi,

Clyde at the top of page 117 you posted a reply regarding my problem with my Links Submit getting a 403 error:

http://www.molliemoo.co.uk/index.php?main_page=links_submit&lPath=2

I have disabled the Magic SEO URL rewriting mod and I am still getting this error.

Do you have any other ideas? I have also been told that the SEO mod should not interfere if there are no rules defined for it.

thanks for your help.

The 403 error could be a server issue (check with your hosting provider)

It might also mean that the permissions on a particular file and/or folder need to be changed.

24 Oct 2008, 12:04 AM
#1195
weezee avatar

weezee

Zen Follower

Join Date:
May 2006
Location:
Louisiana
Posts:
259
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

How can I get ride of the upload file warning. I configured the Display Link Banner Image to 0,
Default Link Image 0, I don't want a link image. I am changing my site from Osc to Zen Cart and I down loaded the latest links manager. v3-4-1 I checked the v3-4-0 it also have link images.

24 Oct 2008, 12:21 AM
#1196
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Link Manager 3.0 Support Thread

weezee:

How can I get ride of the upload file warning. I configured the Display Link Banner Image to 0,
Default Link Image 0, I don't want a link image. I am changing my site from Osc to Zen Cart and I down loaded the latest links manager. v3-4-1 I checked the v3-4-0 it also have link images.

At the present time there is no switch to turn off the banner image field on the links submit page.

Removing the links banner feature would require deleting code in several files.

I configured the Display Link Banner Image to 0
This will prevent the display of banner images on the links display page.

24 Oct 2008, 1:59 AM
#1197
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Link Manager 3.0 Support Thread

weezee:

How can I get ride of the upload file warning. I configured the Display Link Banner Image to 0,
Default Link Image 0, I don't want a link image. I am changing my site from Osc to Zen Cart and I down loaded the latest links manager. v3-4-1 I checked the v3-4-0 it also have link images.

clydejones:

At the present time there is no switch to turn off the banner image field on the links submit page.

Removing the links banner feature would require deleting code in several files.

I configured the Display Link Banner Image to 0
This will prevent the display of banner images on the links display page.

This fix should take care of the problem.

I've added a switch in admin -> configuration -> links manager -> Show Banner Image Field (set this to false)

Unzip the package
run the included sql file from (admin -> tools -> install sql patches)
copy-and-paste the code into the query field and press 'Send'.

Rename the YOUR_TEMPLATE folder to match the name of your custom template (includes/templates/YOUR_TEMPLATE)

Upload the entire includes folder to your server.

[Attachment no longer available]

29 Oct 2008, 7:13 AM
#1198
stenrique avatar

stenrique

Zen Follower

Join Date:
Apr 2005
Posts:
355
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

Great mod., greater support.

Life is even greater thanks to you Clyde, you sure rock. :clap:

6 Nov 2008, 12:13 PM
#1199
dmagic avatar

dmagic

Totally Zenned

Join Date:
Oct 2008
Posts:
594
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

i have this mod in my magic shop
when i aprrove the link no see banner ...
why ?

Thanks for help