Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Changing the sidebox titles

Changing the sidebox titles

Locked

Views: 2,022

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
23 May 2006, 1:41 PM
#1
jas99villa avatar

jas99villa

New Zenner

Join Date:
May 2006
Posts:
76
Plugin Contributions:
0

Changing the sidebox titles

Am I just being silly? I want to change the name of what the sideboxes say. What I mean is I wanted to put payment logos into one of them but it says our sponsors and have you seen.

Can this be changed and can I have one that is permanent for my payment logos (like paypal etc). My site is at https://www.printinginprogress.co.uk if you need to see what I mean.

Thanks in advance.

Jason.

23 May 2006, 1:56 PM
#2
bunyip avatar

bunyip

Totally Zenned

Join Date:
Sep 2004
Location:
Western Massachusetts
Posts:
2,361
Plugin Contributions:
1

Re: Changing the sidebox titles

english.php

  define('BOX_HEADING_BANNER_BOX2','Have you seen ...');
23 May 2006, 5:55 PM
#3
jas99villa avatar

jas99villa

New Zenner

Join Date:
May 2006
Posts:
76
Plugin Contributions:
0

Re: Changing the sidebox titles

Ichecked and cannot find that line. I had this problem with comething in css too and i was advised to just add it. I do not know enough about this html, php and css to just add something. I am trying to learn but where would I just add it (if that is anyones suggestion)?

Also, once that one is changed I want the one banner to appear in just that one box, is this possible?

23 May 2006, 11:38 PM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Changing the sidebox titles

jas99villa:

Ichecked and cannot find that line. I had this problem with comething in css too and i was advised to just add it. I do not know enough about this html, php and css to just add something. I am trying to learn but where would I just add it (if that is anyones suggestion)?
You wouldn't just add it. The advice you were given about adding to your CSS file was correct. However, this is different. The constant is definately defined in includes/languages/english.php so you must edit it, not add it again (which could cause you to get "already defined" errors). If you have your own template folder structure (recommended) you would amend it in the includes/languages/YOUR_TEMPLATE_FOLDER/english.php.

15 Feb 2007, 11:21 AM
#5
jas99villa avatar

jas99villa

New Zenner

Join Date:
May 2006
Posts:
76
Plugin Contributions:
0

Re: Changing the sidebox titles

Can anyone advise on how to change the documents sidebox title please? I have spent several hours looking all through this site and others to find the answer but I am still no where near it!

15 Feb 2007, 10:05 PM
#6
gjh42 avatar

gjh42

Black Belt

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

Re: Changing the sidebox titles

Read Kuroi's post carefully. He gives the location of the file and the kind of statement to look for.

To find where a particular heading is defined, use the Developer's Toolkit in admin > Tools. Copy the desired text into the space at the top left and select all files on the right. You can narrow the search if you wish. That will give you the file and line number you need to edit.

15 Feb 2007, 10:13 PM
#7
jas99villa avatar

jas99villa

New Zenner

Join Date:
May 2006
Posts:
76
Plugin Contributions:
0

Re: Changing the sidebox titles

I hired the services of one Hercule Poirot and he has helped to solve the riddle with the assistance of Miss Marple, Columbo, Sherlock Holmes and Inspector Clueso.

The sidebox titles have now been changed.

Thank you for your help one and all!

15 Feb 2007, 10:29 PM
#8
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Changing the sidebox titles

I expect that what you discovered was that together with other relatively new product types and the recently included EZ-Pages, the sidebox heading for documents is located not in the english.php file, but in a file in languages/english/extra_definitions.

This is a bit of a pain for people coming to this new and highlights the benefit of the developers' toolkit referred to by gjh42. However, this structure means that older sites upgrading don't get broken.