Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Link in More Information

Link in More Information

Locked

Views: 794

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
8 Sep 2008, 5:56 PM
#1
vblunt avatar

vblunt

New Zenner

Join Date:
Jul 2005
Posts:
13
Plugin Contributions:
0

Link in More Information

I have set up my 'more information' sidebar and changed 'page_2' to 'Links', but i need it set up so when someone clicks on the 'Links' in the more information bar it takes them to another page outside my web.

I cannot work out how to do this and wondered whether anyone could help?

Many Thanks

8 Sep 2008, 7:03 PM
#2
charmedbytina2 avatar

charmedbytina2

Totally Zenned

Join Date:
Mar 2007
Location:
AZ
Posts:
1,890
Plugin Contributions:
0

Re: Link in More Information

Simple fix for this is to use an EZ Page instead of the More Information sidebox.

Tina

9 Sep 2008, 6:41 AM
#3
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Re: Link in More Information

Yep, that's the easiest fix. I love EZ Pages - best thing since sliced bread!

Alternatively, if you don't want your "links" link to be in the EZ page sidebox and/or at the top and/or bottom of the page where those links tend to show, you could modify the Page 2 link as follows:

Locate:
/includes/modules/sideboxes/more_information.php

Copy it to:
/includes/modules/sideboxes/YOUR_CUSTOM_TEMPLATE/more_information.php

Locate this text:

if (DEFINE_PAGE_2_STATUS <= 1) {
$more_information[] = '<a href="' . zen_href_link(FILENAME_PAGE_2) . '">' . BOX_MORE_INFORMATION_PAGE_2 . '</a>';
}Modify the href link to link to the desired external page.

9 Sep 2008, 2:44 PM
#4
vblunt avatar

vblunt

New Zenner

Join Date:
Jul 2005
Posts:
13
Plugin Contributions:
0

Re: Link in More Information

Thanks guys will give that a go :)