![]() |
variables from general settings-company info. available?
I'd like to put the company info. (name, address, contact info.) on every page of the site. I figured out I could do this by reentering the company info. into the text boxes in admin/language and call the info from rectangle_bottom.tpl, but it seems to be it would be easier for the client to be able to change their contact info. in the easy-to-use company info. area of general settings.
Is there any way to access this info. in general settings/company info. and if so, how would I find out what the variable names would be ? Thanks. |
I've just done something like this. To find the correct variable names, I went to General Settings, Company Options and viewed the source.
I looked at the name of the input boxes for company address etc. For example: Code:
<input type=text size=30 name=location_address value="123 High Road"> Based on the info above, I simply used {$config.Company.location_address} and ta-da, it appears. |
:P Thanks, that worked GREAT!
|
Re: variables from general settings-company info. available?
Thanks Caitlinn, have edited and added to my /customer/top_menu.tpl with these "$config" items such as company_phone and location_address and now have all the details of our contacts visible on every page next to our logo.
|
All times are GMT -8. The time now is 01:49 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.