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)
-   -   Changing $config Variables (https://forum.x-cart.com/showthread.php?t=9264)

frankdux 09-07-2004 06:33 PM

Changing $config Variables
 
Ok I know you can change language variables like labels and text($lng) through Administration > Languages , but how can you change $config variables?

For example in the mail/mail_header.tpl there is the following: {$lng.eml_mail_header_part1} {$config.Company.company_name} {$lng.eml_mail_header_part2}.

I know how to change "$lng's" but how do you access the "$config" variables?

B00MER 09-07-2004 09:21 PM

$config variables usually come from "General Settings" in the admin, take a look at company options ;)

Frank Dux, bloodsport, I fight to survive! :lol:

frankdux 09-08-2004 05:54 AM

Oh, I knew about General Settings > Company Options. The thing is, this tag : {$config.Company.company_name} doesn't just pull the the company name from there - in any instance it is used it also hyperlinks to a page I don't want to use. I was looking for a way to control where it links to.

Kumite! Kumite! Kumite!

http://www.zaptank.com/images/misc/chong_li.jpg

B00MER 09-08-2004 06:07 AM

Are you refering to the footer copyright notice at the bottom?

:lol: @ chong li

frankdux 09-08-2004 06:22 AM

The tag: {$config.Company.company_name} is used in several places, but right now I am focusing on the header (/mail/mail_header.tpl) and the signature (/mail/signature.tpl) of the email notification. I suppose I could just replace the $config.Company variables with the html for my own links there, but I figured if I could change the variables values then I would get the links I need in every instance where they are used.


All times are GMT -8. The time now is 06:17 AM.

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