Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Edit "Special" menu category

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-07-2013, 03:26 PM
 
Zizilu Zizilu is offline
 

Member
  
Join Date: Mar 2013
Posts: 26
 

Default Edit "Special" menu category

How do I correct the spelling of the GC link in the Special menu please?
Now it's saying "Gift certificates" and I just want to capitalize the "C".. it's the only item with lower case I was able to find the .php using firefox inspect element but can't seem to locate it under Edit Templates
Thanks
__________________
4.5.5
Reply With Quote
  #2  
Old 03-07-2013, 06:08 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Edit "Special" menu category

Welcome to xcart!

The very first thing you need to learn to minimize hunt and peck and endless clicking:

WEBMASTER MODE
http://help.x-cart.com/index.php?title=X-Cart:Using_Webmaster_mode

Webmaster mode will point you to every template, variable and language

Using Webmaster mode, you'll see that the special menu is a template
/skin/common_files/customer/special.tpl

and the special menu is made up of many other template calls, such as:
{if $active_modules.Gift_Certificates ne ""}
{include file="modules/Gift_Certificates/gc_menu.tpl"}
{/if}

OK -- let's look at gc_menu.tpl

<a href="giftcert.php">{$lng.lbl_gift_certificates}

Ah -- the text for the menu is a language entry.

OK, so go to your languages:

/admin/languages.php?language=en&topic=&filter=lbl_gift_c ertificates

Change the content of the language entry.

You're done.

Yes, there is an easier way (with webmaster mode) but this long way around the block is how you are certain to edit the correct item, every time.

HTH
J
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #3  
Old 03-07-2013, 07:56 PM
 
Zizilu Zizilu is offline
 

Member
  
Join Date: Mar 2013
Posts: 26
 

Default Re: Edit "Special" menu category

Well I changed the other places but the gift certificates link under the special menu is still lower case, how do i get to languages to change the script of the link?
__________________
4.5.5
Reply With Quote
  #4  
Old 03-07-2013, 08:00 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Edit "Special" menu category

Quote:
Originally Posted by Zizilu
Well I changed the other places but the gift certificates link under the special menu is still lower case, how do i get to languages to change the script of the link?

There was nothing to change EXCEPT the language entry.

READ the docs:
http://help.x-cart.com/index.php?title=X-Cart:Customizing_Text_Labels

Webmaster mode will help you find the variable.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #5  
Old 03-07-2013, 08:09 PM
 
Zizilu Zizilu is offline
 

Member
  
Join Date: Mar 2013
Posts: 26
 

Default Re: Edit "Special" menu category

Awesome! Got it thank u so much!
__________________
4.5.5
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:27 AM.

   

 
X-Cart forums © 2001-2020