Forums / Templates, Stylesheets, Page Layout / More Information side box editing - where?

More Information side box editing - where?

Views: 1,424

Results 1 to 9 of 9
21 Sep 2011, 1:42 AM
#1
habsolutely avatar

habsolutely

New Zenner

Join Date:
Nov 2010
Posts:
64
Plugin Contributions:
0

More Information side box editing - where?

I can't find in the forum an answer to how to edit the "More Information" side box along the right hand column. Which file? English.php doesn't seem to be the right one. I would like to add code (possibly the code for the twitter feed) inside that - OR, can I add the twitter feed underneath that? If so, how?
Thank you!

21 Sep 2011, 6:55 AM
#2
fiberdawn avatar

fiberdawn

New Zenner

Join Date:
Nov 2007
Location:
Oregon
Posts:
15
Plugin Contributions:
0

Re: More Information side box editing - where?

habsolutely:

I can't find in the forum an answer to how to edit the "More Information" side box along the right hand column. Which file? English.php doesn't seem to be the right one. I would like to add code (possibly the code for the twitter feed) inside that - OR, can I add the twitter feed underneath that? If so, how?
Thank you!
The content (as you probably know) is edited in Admin->Tools->Edit define pages. Pages 2, 3 and 4 show up in More Information... These will only show up in the More information sidebox, if they are enable in Admin-> Define Page Status. To change the titles for the links to these pages in the sidebar, you do edit the english.php file (if you have a custom template, do this in your override file <yourShop>/includes/languages/<custom>/english.php). Look for BOX_HEADING_MORE_INFORMATION and the following lines to see what to change.

To change the titles of the pages themselves, you need to edit the page_2.php, page_3.php etc in includes/languages/english . Again make a copy and put into your custom folder to edit. Using the override system will greatly improve the maintainability of your site. In this case, use the custom folder <yourShop>/includes/languages/english/<custom>/page_2.php

All this information is in the e_Start Your Web Store with Zen Cart book. A bit dated, but most of the information is still true. Also I highly recommend the "Understanding the Override system" article, https://www.zen-cart.com/tutorials/index.php?article=230 If you follow the guidance there you will be editing the files in the right places and that helps so much!

I haven't looked at the twitter feed mod yet, so don't know specifics on that. Will check into it.

21 Sep 2011, 7:33 PM
#3
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: More Information side box editing - where?

habsolutely:

I can't find in the forum an answer to how to edit the "More Information" side box along the right hand column. Which file? English.php doesn't seem to be the right one. I would like to add code (possibly the code for the twitter feed) inside that - OR, can I add the twitter feed underneath that? If so, how?
Thank you!

It is the english.php file, but make sure you're editing the one in the overrides folder, which would be includes/languages/YOUR_TEMPLATE/english.php

The best way to learn is to try stuff. But, back it up first.

22 Sep 2011, 3:50 PM
#4
habsolutely avatar

habsolutely

New Zenner

Join Date:
Nov 2010
Posts:
64
Plugin Contributions:
0

Re: More Information side box editing - where?

I am possibly going to delete the More Information sidebox altogether, therefore I would like to add code to the right hand side column, outside of a particular sidebox.
Specifically, I have copied the Twitter 'Tweet Button' code and the Facebook 'Like Button' code and I would like that to appear on each page in the right hand side column.
How do I do this?
Thanks!

22 Sep 2011, 4:27 PM
#5
habsolutely avatar

habsolutely

New Zenner

Join Date:
Nov 2010
Posts:
64
Plugin Contributions:
0

Re: More Information side box editing - where?

habsolutely:

I am possibly going to delete the More Information sidebox altogether, therefore I would like to add code to the right hand side column, outside of a particular sidebox.
Specifically, I have copied the Twitter 'Tweet Button' code and the Facebook 'Like Button' code and I would like that to appear on each page in the right hand side column.
How do I do this?
Thanks!
Actually I guess I could put the code inside the Blank Sidebox Mod...

22 Sep 2011, 4:32 PM
#6
stevesh avatar

stevesh

Black Belt

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

Re: More Information side box editing - where?

habsolutely:

Actually I guess I could put the code inside the Blank Sidebox Mod...

That would be my choice.

22 Sep 2011, 5:37 PM
#8
habsolutely avatar

habsolutely

New Zenner

Join Date:
Nov 2010
Posts:
64
Plugin Contributions:
0

Re: More Information side box editing - where?

gjh42:

And then you can use CSS to hide the blank sidebox heading and border if you want.

True. I will play around with both looks and see which one suits best.

22 Sep 2011, 6:59 PM
#9
habsolutely avatar

habsolutely

New Zenner

Join Date:
Nov 2010
Posts:
64
Plugin Contributions:
0

Re: More Information side box editing - where?

Hi,
I thought I uploaded everything correctly, but I get a server error with the blank_sidebox_defines.php file uploaded to zencart\includes\languages\english\extra_definitions\
What am I doing wrong?