Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Edit "More Information" sidebox pages?

Edit "More Information" sidebox pages?

Views: 15,593

Results 1 to 20 of 24
19 Dec 2007, 4:46 AM
#1
dude_s avatar

dude_s

New Zenner

Join Date:
May 2005
Posts:
39
Plugin Contributions:
0

Edit "More Information" sidebox pages?

The default ZC installation comes with a sidebar module "More Information". The entries there are Page 2, Page 3, Page 4. I found how to edit the content of those pages (Admin -> Define Pages Editor) but how do I change the title? How can I add or remove those pages from the box? Could I add such a page that runs some PHP code?

I searched the forum and tutorial pages, but couldn't find anything. Everyone is talking about Ez-Pages only, but I believe those aren't EZ-pages right?

1 Jan 2008, 8:46 PM
#3
shadoh avatar

shadoh

New Zenner

Join Date:
Dec 2007
Posts:
39
Plugin Contributions:
0

Re: Edit "More Information" sidebox pages?

I'm having the same issue/question and I have searched high and low and have not been able to find the answer. The tutorial madnumbler links to shows you how to edit the "Page 2" HEADINGS and titles, but that doesn't change my front page from saying "Page 2", "Page 3", and "Page 4" under "more information". I want to be able to have something like "FAQ, About us" etc titles in the "more information" box. And, as dude_s said, it would be nice if I could add more pages instead of just the page 2, 3, and 4...

1 Jan 2008, 9:08 PM
#4
shadoh avatar

shadoh

New Zenner

Join Date:
Dec 2007
Posts:
39
Plugin Contributions:
0

Re: Edit "More Information" sidebox pages?

dude_s, I found a partial answer for you (with LOTS of searching, hehe).

Edit /includes/languages/(yourtemplate)/english.php

Search for "BOX_INFORMATION_PAGE" and you'll see 'Page 2' and 'Page 3' and 'Page 4' which you can edit to 'FAQ', 'About Us', etc. That will change the titles in the "More Information" sidebox on all your pages.

You can follow the tutorial madmumbler linked to to change the page titles on the actual pages.

If you want to get fancy about renaming the actual filename, and/or adding more pages, I think you can edit /includes/modules/sideboxes/more_information.php , but I've not done that yet, so you're on your own. :) (although if you end up doing it, I'd appreciate a little help doing it myself!)

Good luck!

8 Mar 2008, 11:21 PM
#5
the_green_man avatar

the_green_man

New Zenner

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

Re: Edit "More Information" sidebox pages?

I like to customize stuff (I probably have control issues) and I was bangin' around in the Zen Cart trying to customize the 'Information' and 'More Information' side boxes and I came up with the following:
To disable links like Page 2 & Page 3 in the 'More Information' sidebox,
open /includes/modules/sideboxes/more_information.php
and change the page status from one to zero:
CHANGE:
if (DEFINE_PAGE_3_STATUS <= 1)
TO:
if (DEFINE_PAGE_3_STATUS <= 0)

I found it helpful to create a template directory(/includes/modules/sideboxes/your-template) with copies of these files so the main cart would be unaffected in case I want to copt the whole cart over to another site.

23 Mar 2008, 5:46 PM
#6
rjr avatar

rjr

New Zenner

Join Date:
Feb 2008
Posts:
34
Plugin Contributions:
0

Re: Edit "More Information" sidebox pages?

shadoh:

dude_s, I found a partial answer for you (with LOTS of searching, hehe).

Edit /includes/languages/(yourtemplate)/english.php

Search for "BOX_INFORMATION_PAGE" and you'll see 'Page 2' and 'Page 3' and 'Page 4' which you can edit to 'FAQ', 'About Us', etc. That will change the titles in the "More Information" sidebox on all your pages.

You can follow the tutorial madmumbler linked to to change the page titles on the actual pages.

If you want to get fancy about renaming the actual filename, and/or adding more pages, I think you can edit /includes/modules/sideboxes/more_information.php , but I've not done that yet, so you're on your own. :) (although if you end up doing it, I'd appreciate a little help doing it myself!)

Good luck!

How To Edit or Add A New Link (Page_1 is used in the attached example) To The MORE INFORMATION SIDEBOX.
Link / Text Can Be Turned ON/OFF In: ADMIN/CONFIGURATION/DEFINE PAGE STATUS
Link Can Be Edited In: ADMIN/TOOLS/DEFINE PAGES EDITOR

RJR

21 Apr 2008, 2:01 AM
#7
ajay avatar

ajay

New Zenner

Join Date:
Dec 2007
Posts:
3
Plugin Contributions:
0

Re: Edit "More Information" sidebox pages?

RJR,

Thanks for the excellent instructions. They were simple to understand and easy to follow.

Ajay Bathija

5 Jun 2008, 5:00 PM
#8
zcguy avatar

zcguy

New Zenner

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

Re: Edit "More Information" sidebox pages?

I am trying to add another page within my "more information" sidebox. I have added the link but it reads "main_page=FILENAME_PAGE_5".

Not sure why this is happening. Anyone know how i can properly add an additional page to that sidebox?:frusty::frusty::frusty:

16 Sep 2008, 1:49 AM
#9
sped1530 avatar

sped1530

New Zenner

Join Date:
Nov 2007
Posts:
37
Plugin Contributions:
0

Re: Edit "More Information" sidebox pages?

Did you ever find the how do add page 4, 5, ... I've looked everywhere but still can not find the answer.

ZCguy:

I am trying to add another page within my "more information" sidebox. I have added the link but it reads "main_page=FILENAME_PAGE_5".

Not sure why this is happening. Anyone know how i can properly add an additional page to that sidebox?:frusty::frusty::frusty:

16 Sep 2008, 2:16 AM
#10
charmedbytina2 avatar

charmedbytina2

Totally Zenned

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

Re: Edit "More Information" sidebox pages?

I have submitted a mod to the downloads section (awaiting approval) that will add Pages 5, 6, and 7 to the More Information sidebox.

PM if you are interested in the download.

Tina

27 Jan 2010, 8:43 PM
#11
roryhy avatar

roryhy

New Zenner

Join Date:
Jan 2010
Posts:
9
Plugin Contributions:
0

Re: Edit "More Information" sidebox pages?

RJR:

How To Edit or Add A New Link (Page_1 is used in the attached example) To The MORE INFORMATION SIDEBOX.
Link / Text Can Be Turned ON/OFF In: ADMIN/CONFIGURATION/DEFINE PAGE STATUS
Link Can Be Edited In: ADMIN/TOOLS/DEFINE PAGES EDITOR

RJR

I need help. I used the above post in the attampt to create a new page in the more information box but on the very last instruction made a mistake in the information for the mysql patch. This was done on a live site(foolish i know), and the site is now down. Can anyone help me rectify this? im desperate! im a bit of a newbie in gereral but havent a clue at all when it comes to mqsql. Can i undo my changes?

24 Oct 2010, 4:35 PM
#12
heyits007 avatar

heyits007

Zen Follower

Join Date:
Sep 2010
Posts:
270
Plugin Contributions:
0

Re: Edit "More Information" sidebox pages?

Yea this link does seem to help

https://www.zen-cart.com/tutorials/index.php?article=242

You best use template overrides though. Best read up on them if you arn't sure. That way when you upgrade your zencart, you dont risk over writing your customised changes.

https://www.zen-cart.com/tutorials/index.php?article=230

re; http://www.zen-cart.com/forum/showthread.php?t=83332

18 Nov 2010, 10:28 PM
#13
spembleton avatar

spembleton

Zen Follower

Join Date:
Jun 2010
Location:
Holland, MI
Posts:
232
Plugin Contributions:
0

Re: Edit "More Information" sidebox pages?

I have ghosts in my site!!

I am baffled. I am trying to change the names of the pages in the More Information sidebox. I have followed all of the tuitorials, all of the comments I could find in the forums to no avail. I then searched my entire site for "Page 2" using the Developers toolbox. Everywhere that I found the words "Page 2", I changed them. The pages still say Page 2.

Where is this coming from? :dontgetit

19 Nov 2010, 7:19 PM
#14
spembleton avatar

spembleton

Zen Follower

Join Date:
Jun 2010
Location:
Holland, MI
Posts:
232
Plugin Contributions:
0

Re: Edit "More Information" sidebox pages?

SPembleton:

I have ghosts in my site!!

I am baffled. I am trying to change the names of the pages in the More Information sidebox. I have followed all of the tuitorials, all of the comments I could find in the forums to no avail. I then searched my entire site for "Page 2" using the Developers toolbox. Everywhere that I found the words "Page 2", I changed them. The pages still say Page 2.

Where is this coming from? :dontgetit

Fixed it - Not sure what I was doing wrong. It was in the English.php file. I deleted the old file on my site and replaced it with the one on my computer. Perhaps I was not overwriting the old one. Anyway - It works.

26 Jan 2011, 11:56 PM
#15
rivodaddy avatar

rivodaddy

New Zenner

Join Date:
Mar 2009
Posts:
15
Plugin Contributions:
0

Re: Edit "More Information" sidebox pages?

Thanks Shadoh, it works as described, Kudos!!!

shadoh:

dude_s, I found a partial answer for you (with LOTS of searching, hehe).

Edit /includes/languages/(yourtemplate)/english.php

Search for "BOX_INFORMATION_PAGE" and you'll see 'Page 2' and 'Page 3' and 'Page 4' which you can edit to 'FAQ', 'About Us', etc. That will change the titles in the "More Information" sidebox on all your pages.

You can follow the tutorial madmumbler linked to to change the page titles on the actual pages.

If you want to get fancy about renaming the actual filename, and/or adding more pages, I think you can edit /includes/modules/sideboxes/more_information.php , but I've not done that yet, so you're on your own. :) (although if you end up doing it, I'd appreciate a little help doing it myself!)

Good luck!

6 Mar 2011, 8:17 PM
#16
flake avatar

flake

New Zenner

Join Date:
Feb 2011
Location:
New Orleans, Louisiana
Posts:
5
Plugin Contributions:
0

Re: Edit "More Information" sidebox pages?

I'm trying to edit the link names in the 'more information' sidebox. I successfully changed the link names from "page 2, page 3 and page 4" to "ancestry, a curse, and hoodoo". But when you click the links, it takes you to a page that's "not found". How do I update the links and tell the pages where to go?

info:
I'm using the latest version of zencart, and my site is http://voodoobag.com ..I also turned off the more information sidebox so nobody would click on broken links. I only want to know where to go in zencart to change the link names. Thanks in advance.

6 Mar 2011, 8:23 PM
#17
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,179
Plugin Contributions:
0

Re: Edit "More Information" sidebox pages?

Are you using an override directory system?

to edit them: admin panel/ tools/ define pages editor

  1. click the dropdown and edit page2.php
9 Mar 2011, 4:39 PM
#18
flake avatar

flake

New Zenner

Join Date:
Feb 2011
Location:
New Orleans, Louisiana
Posts:
5
Plugin Contributions:
0

Re: Edit "More Information" sidebox pages?

Thank you. :smile:

5 May 2011, 12:13 PM
#19
jorger avatar

jorger

New Zenner

Join Date:
Aug 2010
Posts:
53
Plugin Contributions:
0

Re: Edit "More Information" sidebox pages?

RJR:

How To Edit or Add A New Link (Page_1 is used in the attached example) To The MORE INFORMATION SIDEBOX.
Link / Text Can Be Turned ON/OFF In: ADMIN/CONFIGURATION/DEFINE PAGE STATUS
Link Can Be Edited In: ADMIN/TOOLS/DEFINE PAGES EDITOR

RJR

Hi,

If I´m adding a page 5, the SQL will read like this, correct?
'Define Page_5', 'DEFINE_PAGE_5_STATUS', '5'

INSERT INTO configuration ( configuration_title, configuration_key, configuration_value,
configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function,
set_function)
VALUES ('Define Page_5', 'DEFINE_PAGE_5_STATUS', '5', 'Enable the Defined Page 1 Link/Text?<br />0=
Link ON, Define Text OFF<br />1= Link ON, Define Text ON<br />2= Link OFF, Define Text ON<br />3= Link
OFF, Define Text OFF', 25, 100, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''0'', ''1'', ''2'', ''3''),');

5 May 2011, 12:30 PM
#20
jorger avatar

jorger

New Zenner

Join Date:
Aug 2010
Posts:
53
Plugin Contributions:
0

Re: Edit "More Information" sidebox pages?

I have follow all the steps form the PDF file and the content of page 5 doesn´t display. Any ideas of what I did wrong?

Thannks

Jorge

BTW, forget my previous question.

'Define Page_5', 'DEFINE_PAGE_5_STATUS', '1',

JorgeR:

Hi,

If I´m adding a page 5, the SQL will read like this, correct?
'Define Page_5', 'DEFINE_PAGE_5_STATUS', '5'

INSERT INTO configuration ( configuration_title, configuration_key, configuration_value,
configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function,
set_function)
VALUES ('Define Page_5', 'DEFINE_PAGE_5_STATUS', '5', 'Enable the Defined Page 1 Link/Text?<br />0=
Link ON, Define Text OFF<br />1= Link ON, Define Text ON<br />2= Link OFF, Define Text ON<br />3= Link
OFF, Define Text OFF', 25, 100, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''0'', ''1'', ''2'', ''3''),');