![]() |
Hard Code Contact Us Fields...
Hello,
The big questions is, why would I want to hard code additional Contact Us fields? Several reasons but the main reason is so I can adjust text field sizes on the new fields. Is there an easy way to do this? I don't think Contact Us has anything to do with the database, so it's just a matter of editing certain files, eh? Can anybody help me? Thanks. v4.4.x |
Re: Hard Code Contact Us Fields...
Anybody?
|
Re: Hard Code Contact Us Fields...
You'd need to edit both the template file (help/contact_us.tpl) and the php file that controls it - which is include/help.php
|
Re: Hard Code Contact Us Fields...
Ok, thanks Balinor.
|
Re: Hard Code Contact Us Fields...
Well, I looked at the PHP file, and not real sure what to edit. I know I'll need to add values to the array, but is there any simple explanation as to what needs to be done?
|
Re: Hard Code Contact Us Fields...
Ok, I created a 'testbody' entry in the contactus.tpl file and added the information to the array toward the top of help.php:
Code:
$is_areas = array( What else am I missing? |
All times are GMT -8. The time now is 06:44 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.