Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / combining Information & More Information Sideboxes

combining Information & More Information Sideboxes

Views: 1,006

Results 1 to 9 of 9
30 Dec 2011, 11:55 PM
#1
mek113 avatar

mek113

New Zenner

Join Date:
Apr 2011
Posts:
99
Plugin Contributions:
0

combining Information & More Information Sideboxes

I do not want a separate Information and More Information sidebox. I want an About Us page and 3 other general information pages included in the Information sidebox. Is there a way to do this? I don't plan on using some of the links in the Information sidebox, such as the privacy link and the Conditions link. Can I change those to be an About Us page instead?

31 Dec 2011, 7:17 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: combining Information & More Information Sideboxes

Decide which of the two sidebox that you are going to use ...

The code in the:
/includes/modules/sideboxes/more_information.php

use the code:

$more_information[]

The code in the:
/includes/modules/sideboxes/information.php

use the code:

$information[]

Combine the code you want from one sidebox to the other using your templates and overrides and change the code to match the sidebox that you are using ...

2 Jan 2012, 11:21 PM
#3
mek113 avatar

mek113

New Zenner

Join Date:
Apr 2011
Posts:
99
Plugin Contributions:
0

Re: combining Information & More Information Sideboxes

I was able to accomplish this first step but have several questions. Before I ask those questions, however, in playing with the EZ pages, it looks like this option is easier to set up but, again, I don't want a separate heading "Important Links" - all should be under "Information". Is there a way to get the EZ Pages under "Information"?

If that is a no - then back to my questions about customizing the Page 2-4. ZenCart makes it very obvious how to change the text on the pages but how do I change the "Page 2" title in the sidebox and in the Define Pages Editor?

3 Jan 2012, 6:54 PM
#4
mek113 avatar

mek113

New Zenner

Join Date:
Apr 2011
Posts:
99
Plugin Contributions:
0

Re: combining Information & More Information Sideboxes

I'm now working with the About Us Add-on but still curious about the E-Z pages question I asked. I'm adding four pages, using the add-on and it's very time consuming editing each file and folder. There should be an easier way to do this.

3 Jan 2012, 7:52 PM
#5
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: combining Information & More Information Sideboxes

If I understand the question, the easier way is to use the Important Links (EZ pages) sidebox and use EZ pages to point to all the pages you want to display. You can change 'Important Links' to Information, or whatever you want, in english.php.

3 Jan 2012, 11:08 PM
#6
mek113 avatar

mek113

New Zenner

Join Date:
Apr 2011
Posts:
99
Plugin Contributions:
0

Re: combining Information & More Information Sideboxes

So stevesh, if I'm understanding you correctly, in addition to creating my custom EZ pages, I could create an EZ page that would link to the already existing "shipping & returns", "discount coupons", etc pages that are currently in the Information sidebox?

4 Jan 2012, 12:13 AM
#7
gjh42 avatar

gjh42

Black Belt

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

Re: combining Information & More Information Sideboxes

That's right. Put the link in the "Internal Link" field at the bottom of the ez-page editing page.

4 Jan 2012, 5:50 PM
#8
mek113 avatar

mek113

New Zenner

Join Date:
Apr 2011
Posts:
99
Plugin Contributions:
0

Re: combining Information & More Information Sideboxes

Setting up EZ pages was SO much easier.

One last question (hopefully) I'm not finding "Important Links" in the english.php file so that I can change it to say "Information". Is it in another file?

4 Jan 2012, 5:52 PM
#9
mek113 avatar

mek113

New Zenner

Join Date:
Apr 2011
Posts:
99
Plugin Contributions:
0

Re: combining Information & More Information Sideboxes

Never mind..answered my own question by searching in the Developers Toolkit. It's at: includes/languages/english/extra_definitions/ez_pages_definitions.php