X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Creating a new language variable (https://forum.x-cart.com/showthread.php?t=43816)

tbm 11-22-2008 06:22 AM

Creating a new language variable
 
Hi,

I've created a new button and now i want to add a label to it. i followed the trail of other buttons and i just arrive at exotically named php files which, frankly, frighten me. i thought i'd be able to create a new lng.lbl_my_new_button file and point my button at it.

Can anybpdy help?

Thanks.

JWait 11-23-2008 08:09 AM

Re: Creating a new language variable
 
In admin, click "languages" then in the drop down box choose your language and wait for the page to refresh. You will see a listing of all of your language variables. Change the dropdown next to "Select topic:" to "labels" and then enter "lbl_my_new_button" in the "apply filter" box (just to make sure it doesn't already exist).

At the bottom of the page there is a section where you can define your language variable. It is marked "Add new entry". Put bl_my_new_button in the "Variable:" box and enter what you want displayed in the "Value:" box (note; the Select topic: should be set to labels) Click "add" when you are finished.

tbm 11-23-2008 08:51 AM

Re: Creating a new language variable
 
That worked great, thanks!


All times are GMT -8. The time now is 03:28 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.