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)
-   -   How do I find out the name of text values? (https://forum.x-cart.com/showthread.php?t=19731)

goforitandy 02-04-2006 08:48 PM

How do I find out the name of text values?
 
Hi,

In the template top_menu.tpl I have the following code :

if $config.Company.company_phone}{$lng.lbl_phone_1_ti tle}: {$config.Company.company_phone}{/if}{if $config.Company.company_phone_2}{$lng.lbl_phone_2_ title}: {$config.Company.company_phone_2}{/if}</TD>

Found that the values of $config.Company.company_phone are in the company options set up, just by looking at these and comparing against the template.

The problem is I want to add the fax phone number and add this to the code. Question is, I do not know the name of the variable i.e. $config.... etc containing the fax text. How do I find this, or any other for that matter? These are not labels or text values found in the normal way.

Thanks,

Andy.

balinor 02-05-2006 05:01 AM

http://forum.x-cart.com/viewtopic.php?t=17601

goforitandy 02-07-2006 05:13 AM

Thanks!
 
Thanks for that pointer. I will try it out, but sounds good, and good that you didnt reply with stuff about the labels and text form!

Regards,

Andy.


All times are GMT -8. The time now is 02:38 AM.

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