![]() |
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? |
$config variables usually come from "General Settings" in the admin, take a look at company options ;)
Frank Dux, bloodsport, I fight to survive! :lol: |
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 |
Are you refering to the footer copyright notice at the bottom?
:lol: @ chong li |
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.