Forums / Discounts/Coupons, Gift Certificates, Newsletters, Ads / Renaming Gift Certificates FAQ in Information Sidebox

Renaming Gift Certificates FAQ in Information Sidebox

Locked

Views: 2,245

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
10 Nov 2007, 9:27 PM
#1
el_zorro avatar

el_zorro

New Zenner

Join Date:
Sep 2007
Posts:
5
Plugin Contributions:
0

Renaming Gift Certificates FAQ in Information Sidebox

Hello all.

Am trying to reword "Gift Certificate FAQ" in the Information Sidebox to simply say "Gift Certificates." have successfully changed in the relevant pages in the gv_faq.php file. i.e:

define('NAVBAR_TITLE', TEXT_GV_NAME . 'FAQ ');
define('HEADING_TITLE', TEXT_GV_NAME . 'FAQ ');

to:

define('NAVBAR_TITLE', TEXT_GV_NAME . 's ');
define('HEADING_TITLE', TEXT_GV_NAME . 's ');

but for the life of me (and despite trawling this forum) I cannot get it to change in the sidebar.

Please advise,

Regards,

El-Zorro

11 Nov 2007, 5:05 AM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Renaming Gift Certificates FAQ in Information Sidebox

Gift Certificates, as you may have noticed uses two defines to built the text in singular or plural format based on the settings in the main language file:

// Define the name of your Gift Certificate as Gift Voucher, Gift Certificate, Zen Cart Dollars, etc. here for use through out the shop
define('TEXT_GV_NAME','Gift Certificate');
define('TEXT_GV_NAMES','Gift Certificates');

Other formats for things like the sideboxes utilize these so that you can globally make changes such as changing from:
Gift Certificate
Gift Certificates

to something like:
Green Stamp
Green Stamps

On the sidebox, these are global or located in the main language file as well, so you need to be sure that you are utilizing your templates and overrides properly to make changes such as:

define('BOX_INFORMATION_GV', TEXT_GV_NAME . ' FAQ');

define('GV_FAQ', TEXT_GV_NAME . ' FAQ');

A search on:
TEXT_GV_NAME

in the Tools ... Developers Tool Kit ... in the bottom input box for:
TEXT_GV_NAME

will locate all uses of this and you can see where perhaps you have gone astray ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

11 Nov 2007, 11:47 AM
#3
el_zorro avatar

el_zorro

New Zenner

Join Date:
Sep 2007
Posts:
5
Plugin Contributions:
0

Re: Renaming Gift Certificates FAQ in Information Sidebox

That's brilliant, thanks.