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

Link Manager 3.0 Support Thread

Views: 486,752

Results 1,081 to 1,100 of 1,988
2 Aug 2008, 1:33 AM
#1081
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Link Manager 3.0 Support Thread

Hi,

Thanks for your suggestion. Are you saying that I should work out the sort order of links by displaying the newest pending links first on the admin page? I went to the page you told me to look at. Is this what I am supposed to do? Please advise.

open admin/links.php

find this line of code (around line 556)

$links_query_raw = "select l.links_id, l.links_url, l.links_image_url, l.links_date_added, l.links_last_modified, l.links_status, l.links_clicked, ld.links_title, ld.links_description, l.links_contact_name, l.links_contact_email, l.links_reciprocal_url, l.links_status from " . TABLE_LINKS . " l left join " . TABLE_LINKS_DESCRIPTION . " ld on l.links_id = ld.links_id where ld.language_id = '" . $_SESSION['languages_id'] . "'" . $search . " order by ld.links_title, l.links_url"; 

and replace with this line

$links_query_raw = "select l.links_id, l.links_url, l.links_image_url, l.links_date_added, l.links_last_modified, l.links_status, l.links_clicked, ld.links_title, ld.links_description, l.links_contact_name, l.links_contact_email, l.links_reciprocal_url, l.links_status from " . TABLE_LINKS . " l left join " . TABLE_LINKS_DESCRIPTION . " ld on l.links_id = ld.links_id where ld.language_id = '" . $_SESSION['languages_id'] . "'" . $search . " order by l.links_date_added DESC, ld.links_title, l.links_url"; 

2 Aug 2008, 1:52 AM
#1082
fvb avatar

fvb

Zen Follower

Join Date:
Dec 2006
Posts:
102
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

dealbyethan.com:

Hi,

Thanks for your suggestion. Are you saying that I should work out the sort order of links by displaying the newest pending links first on the admin page? I went to the page you told me to look at. Is this what I am supposed to do? Please advise.

open admin/links.php

find this line of code (around line 556)

$links_query_raw = "select l.links_id, l.links_url, l.links_image_url, l.links_date_added, l.links_last_modified, l.links_status, l.links_clicked, ld.links_title, ld.links_description, l.links_contact_name, l.links_contact_email, l.links_reciprocal_url, l.links_status from " . TABLE_LINKS . " l left join " . TABLE_LINKS_DESCRIPTION . " ld on l.links_id = ld.links_id where ld.language_id = '" . $_SESSION['languages_id'] . "'" . $search . " order by ld.links_title, l.links_url";

> and replace with this line
> ```
$links_query_raw = "select l.links_id, l.links_url, l.links_image_url, l.links_date_added, l.links_last_modified, l.links_status, l.links_clicked, ld.links_title, ld.links_description, l.links_contact_name, l.links_contact_email, l.links_reciprocal_url, l.links_status from " . TABLE_LINKS . " l left join " . TABLE_LINKS_DESCRIPTION . " ld on l.links_id = ld.links_id where ld.language_id = '" . $_SESSION['languages_id'] . "'" . $search . " order by l.links_date_added DESC, ld.links_title, l.links_url"; 

yes, thats what I did and it works great

5 Aug 2008, 1:58 AM
#1083
abcoombe avatar

abcoombe

New Zenner

Join Date:
May 2008
Posts:
36
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

Hi, I added the links manager to my site, thank you for this add on! I want to take the box off my page though, and just have "View All Links" without "submit link." I would also like to change the "view all links" text to "resources." I cannot figure out how to do this! Can you help?

Thanks!

www.theshoppingboutique.com

5 Aug 2008, 4:00 AM
#1084
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

abcoombe:

Hi, I added the links manager to my site, thank you for this add on! I want to take the box off my page though, and just have "View All Links" without "submit link." I would also like to change the "view all links" text to "resources." I cannot figure out how to do this! Can you help?

Thanks!

www.theshoppingboutique.com

For part 1 try this fix:
[Attachment no longer available]
Unzip the file:

run this sql patch using the Zen-Cart Sql Patches tool
(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

upload the entire includes folder to your server.

In admin -> configuration -> links manager
Links Box - Display Links in Sidebox (set to false)
Links Box - Display Submit Link (set to false)

For part 2:
open includes/languages/english/extra_definitions/YOUR_TEMPLATE/links_manager_defines.php

find the following:
define('BOX_INFORMATION_VIEW_ALL_LINKS', 'View All Links');

Change the highlighted portion to whatever you need.
Save the file and upload to your server.

5 Aug 2008, 8:26 PM
#1085
abcoombe avatar

abcoombe

New Zenner

Join Date:
May 2008
Posts:
36
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

Clyde,

Thank you so much for your help. It worked perfectly, except the "Resources" link is now way below my other items in my information column. Can I change that?

https://www.theshoppingboutique.com

5 Aug 2008, 9:24 PM
#1086
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

abcoombe:

Clyde,

Thank you so much for your help. It worked perfectly, except the "Resources" link is now way below my other items in my information column. Can I change that?

https://www.theshoppingboutique.com

It sits in its own sidebox and you've modified that sidebox so that the heading has been eliminated. (That's why it appears as it does.)

6 Aug 2008, 2:36 AM
#1087
abcoombe avatar

abcoombe

New Zenner

Join Date:
May 2008
Posts:
36
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

Okay, apparently I'm confused about the difference between a sidebox and a link that appears in my information list. Is there a way to alter what I have to make it part of that list, or do I need to be using something different? Sorry I'm being difficult, I'm in a little over my head...

Thanks!

6 Aug 2008, 5:08 AM
#1088
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

abcoombe:

Okay, apparently I'm confused about the difference between a sidebox and a link that appears in my information list. Is there a way to alter what I have to make it part of that list, or do I need to be using something different? Sorry I'm being difficult, I'm in a little over my head...

Thanks!

If you want just a link in your information box then you need to do the following:

open includes/modules/sideboxes/YOUR_TEMPLATE/information.php

add the following where you wish the link to appear

$information[] = '<a href="' . zen_href_link(FILENAME_LINKS) . '">' . BOX_INFORMATION_VIEW_ALL_LINKS . '</a>';

Save the file and upload to your server.

6 Aug 2008, 4:34 PM
#1089
abcoombe avatar

abcoombe

New Zenner

Join Date:
May 2008
Posts:
36
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

Thank you so much Clyde, I appreciate your help. It's amazing to me that you just know where to find everything!

If you are in the Springs, we are only about 20 minutes north of you! I'm in Castle Rock today. I'm originally from the Springs, so it's nice to see it on here!

6 Aug 2008, 4:59 PM
#1090
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

abcoombe:

Thank you so much Clyde, I appreciate your help. It's amazing to me that you just know where to find everything!

If you are in the Springs, we are only about 20 minutes north of you! I'm in Castle Rock today. I'm originally from the Springs, so it's nice to see it on here!

Glad you got it sorted.

Working with Zen Cart and answering questions on the forum will do that.

There a few coloradians on the forum.

13 Aug 2008, 5:34 PM
#1091
decostyle avatar

decostyle

Zen Follower

Join Date:
Mar 2008
Posts:
336
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

Hi Clyde,

I hope you can help me resolve this problem. I've been trying to install link manager with Captcha but haven't been successful.

I am running zen 1.3.8a using captcha v 2.8. I only want to use captcha on the link submit page. So have selectively uploaded the files:

fonts
includes/
modules/pages/links_submit/header_php.php
templates/my_template/templates/tpl_links_submit_default.php
all other files associated with captcha including sql patch.

When I run the captcha_test.php it works. When I click on the submit link page, I get a blank screen.

So I reverted to original files. Then started to install again and test.

When tpl_links_submit_default.php was uploaded, the submit page is still there without the captcha.

When links_submit/header_php.php was uploaded, the submit page dissappears.

On Admin, all other pages have been turned to false for captcha except for the submit link page.

Can't figure out what the problem is.

I have used the link submit fix posted here to update the tpl and header files but it didn't fix it. I still get a blank screen.

Any ideas what is causing it?

13 Aug 2008, 7:12 PM
#1092
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

Decostyle:

Hi Clyde,

I hope you can help me resolve this problem. I've been trying to install link manager with Captcha but haven't been successful.

I am running zen 1.3.8a using captcha v 2.8. I only want to use captcha on the link submit page. So have selectively uploaded the files:

fonts
includes/
modules/pages/links_submit/header_php.php
templates/my_template/templates/tpl_links_submit_default.php
all other files associated with captcha including sql patch.

When I run the captcha_test.php it works. When I click on the submit link page, I get a blank screen.

So I reverted to original files. Then started to install again and test.

When tpl_links_submit_default.php was uploaded, the submit page is still there without the captcha.

When links_submit/header_php.php was uploaded, the submit page dissappears.

On Admin, all other pages have been turned to false for captcha except for the submit link page.

Can't figure out what the problem is.

I have used the link submit fix posted here to update the tpl and header files but it didn't fix it. I still get a blank screen.

Any ideas what is causing it?

try this:

Just unzip the file and upload the entire includes folder to your server.

[Attachment no longer available]

14 Aug 2008, 1:56 PM
#1093
gairneybank avatar

gairneybank

New Zenner

Join Date:
Mar 2006
Posts:
16
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

Hi Clyde,

Added your contribution. Mostly OK. However, unable to get banner image to display or load.

I am wondering if it is a write permission problem. But don't know what file/ s should be altered.

R u able to help?

Gairneybank

14 Aug 2008, 2:06 PM
#1094
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

gairneybank:

Hi Clyde,

Added your contribution. Mostly OK. However, unable to get banner image to display or load.

I am wondering if it is a write permission problem. But don't know what file/ s should be altered.

R u able to help?

Gairneybank

URL for your site

14 Aug 2008, 6:39 PM
#1096
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

gairneybank:

My site url
http://www.messageonabottle.biz/zencart/

I just submitted a test link. It appears that the banner image option is working properly.

Check the link in admin -> extras -> links

Your default image should show up.

14 Aug 2008, 7:15 PM
#1097
gairneybank avatar

gairneybank

New Zenner

Join Date:
Mar 2006
Posts:
16
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

clydejones:

URL for your site

clydejones:

I just submitted a test link. It appears that the banner image option is working properly.

Check the link in admin -> extras -> links

Your default image should show up.

Hi Clyde,

Yes it has worked with the default image. However, when you try to submit a banner image you get the following: Error: destination not writeable.

Also if you try to add the image url from admin, it displays there correctly, but not in the online catalogue.

Gairneybank

14 Aug 2008, 7:19 PM
#1098
gairneybank avatar

gairneybank

New Zenner

Join Date:
Mar 2006
Posts:
16
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

gairneybank:

Hi Clyde,

Yes it has worked with the default image. However, when you try to submit a banner image you get the following: Error: destination not writeable.

Also if you try to add the image url from admin, it displays there correctly, but not in the online catalogue.

Gairneybank

Further to: Whilst your submission displays the default image online, the default image does not display in admin.

14 Aug 2008, 7:38 PM
#1099
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

gairneybank:

Further to: Whilst your submission displays the default image online, the default image does not display in admin.

make sure images/links_image has a cmod of 777 (this will make the directory writable.

15 Aug 2008, 12:39 PM
#1100
decostyle avatar

decostyle

Zen Follower

Join Date:
Mar 2008
Posts:
336
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

clydejones:

try this:

Just unzip the file and upload the entire includes folder to your server.

[Attachment no longer available]

Hello Clyde!

Thank you!!! It worked!! :clap: I do not know much about PHP but when I looked at the difference of the two files, it seems that the only thing changed was an added carraige to line 30:

// EOF Captcha
if (isset($_GET['action']) && ($_GET['action'] == 'send')) {

Is this something that affects PHP coding? Just curious.