Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Editing Links in Information Box

Editing Links in Information Box

Views: 2,979

Results 1 to 10 of 10
29 Mar 2011, 5:36 AM
#1
bparker avatar

bparker

Zen Follower

Join Date:
Oct 2008
Location:
Rochester, NY
Posts:
232
Plugin Contributions:
0

Editing Links in Information Box

My Information box has these pages by default:

* Shipping & Returns
* Privacy Notice
* Conditions of Use
* Contact Us
* Site Map
* Gift Certificate FAQ
* Discount Coupons
* Newsletter Unsubscribe

I'd like to remove some of these, reorder others, and add a couple more. How would I do this?

Thanks,
BP

29 Mar 2011, 6:13 AM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Editing Links in Information Box

Edit /includes/modules/sideboxes/your_template/information.php.

29 Mar 2011, 4:25 PM
#3
bparker avatar

bparker

Zen Follower

Join Date:
Oct 2008
Location:
Rochester, NY
Posts:
232
Plugin Contributions:
0

Re: Editing Links in Information Box

Great! Thanks. I'm not exactly new to Zen Cart, but the setup is still a bit unintuitive. This makes sense, though. :)

So... another easy question. How do I make new pages (such as an About Us page)? Is there a way how I can do this through the interface? I've been playing with it, but I can't seem to find it or get it to work. Maybe I'm in the wrong place.

29 Mar 2011, 4:45 PM
#4
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: Editing Links in Information Box

How do I make new pages (such as an About Us page)?

You can create them with Ez-pages
Admin > tools > manage ez-pages

29 Mar 2011, 5:22 PM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Editing Links in Information Box

And if you need to use PHP in the new page, or you want it to have an explicit name in the URL like main_page=about_us, look at the About Us mod in Free Addons. It will show you how to do the 8 new files and edits needed for a new define page.

29 Mar 2011, 6:27 PM
#6
bparker avatar

bparker

Zen Follower

Join Date:
Oct 2008
Location:
Rochester, NY
Posts:
232
Plugin Contributions:
0

Re: Editing Links in Information Box

keneso:

You can create them with Ez-pages
Admin > tools > manage ez-pages

Yeah that's what I thought but it's not showing up. Is there something I need to activate or check? I'll play some more.

29 Mar 2011, 7:39 PM
#7
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Editing Links in Information Box

EZ-Page links will show up in the ezpages sidebox ("Important Links") as long as they are enabled and given a sort order for the sidebox.

If you want them in the information sidebox, you will have to code them into it.

<a href="<?php echo zen_ez_pages_link(23) ?>" >Your EZP Link Text</a>
29 Mar 2011, 7:49 PM
#8
bparker avatar

bparker

Zen Follower

Join Date:
Oct 2008
Location:
Rochester, NY
Posts:
232
Plugin Contributions:
0

Re: Editing Links in Information Box

OOOOOH! Ok! That makes sense. I figured out that the links appeared in the other box, but I wasn't sure if the admin had a way to put them together. Ok, I'll modify it that way. :) Thanks!

26 Apr 2011, 5:36 PM
#9
artjewl avatar

artjewl

New Zenner

Join Date:
Oct 2010
Posts:
21
Plugin Contributions:
0

Re: Editing Links in Information Box

Ok, I have a related question: I want to change the text of an existing link in the Information sidebox. I want to call my Contact Us page "Email Support," for example.

I managed to make that change by editing includes/languages/MYTHEME/english.php (which originated from a copy of includes/languages/english.php) ... BUT then I started getting blank pages -- first with my contact form and later when a customer logs in. The ONLY thing I changed (that I'm aware of) is the link text.

Thoughts?

Thanks in advance!

26 Apr 2011, 6:19 PM
#10
artjewl avatar

artjewl

New Zenner

Join Date:
Oct 2010
Posts:
21
Plugin Contributions:
0

Re: Editing Links in Information Box

By the way, I have the same trouble if I edit the definition in the non-template-specific english.php file. But as soon as I change it back to "Contact Us" it's A-OK.
:frusty: