| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Hard Code Contact Us Fields... | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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
__________________
X-Cart Gold 4.4.0 |
|||||||
#2
|
|||||||
|
|||||||
![]() Anybody?
__________________
X-Cart Gold 4.4.0 |
|||||||
#3
|
|||||||
|
|||||||
![]() 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
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#4
|
|||||||
|
|||||||
![]() Ok, thanks Balinor.
__________________
X-Cart Gold 4.4.0 |
|||||||
#5
|
|||||||
|
|||||||
![]() 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?
__________________
X-Cart Gold 4.4.0 |
|||||||
#6
|
|||||||
|
|||||||
![]() 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:
What else am I missing?
__________________
X-Cart Gold 4.4.0 |
|||||||
|
|||
X-Cart forums © 2001-2020
|