This is a discussion on contact owner form within the HTML, CSS, and Design Help forums, part of the General category; I am attempting to change the width of the "contact owner" form, but am having difficulty locating the proper file ...
|
|||||||
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I am attempting to change the width of the "contact owner" form, but am having difficulty locating the proper file to edit.
I see (using "view source") that the size attribute I would like to change is currently set to 30. <td class="formright"> <input name="email" type="text" size="30" value="" /> I have also located the "contactowner.tpl.php file and see that this is in some way controlled by: <td class="formright"> <input name="name" type="text" size="{$smarty.const.FIELD_SIZE}" value="{$name|escape}" /> This is where I get lost... I am not sure how (or where) to change the "size" of the field to, say, 50 for example. Thanks in advance for your help!
__________________
motorcycle-place |
|
#2
|
||||
|
||||
|
That file should be templates/default/contact/contactowner.tpl.php or contactus.tpl.php depending on which page you would like.
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | Submit a Ticket | Twitter |
|
#3
|
|||
|
|||
|
Quote:
I see where the file is located - I am just uncertain as to how to change the value of the input field length (e.g. changing from default of "30" to "50").
__________________
motorcycle-place |
|
#4
|
||||
|
||||
|
Oh sorry.
What would do is find this line: Code:
size="{$smarty.const.FIELD_SIZE}"
Code:
size="50" Code:
define("FIELD_SIZE", "30");
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | Submit a Ticket | Twitter |
|
#5
|
|||
|
|||
|
Got it
![]() Thank you very much!
__________________
motorcycle-place |
|
#6
|
|||
|
|||
|
im trying to do this also, but changing this alters the NAME & EMAIL ADDRESS fields, how do i go about changing the message field?
never mind: found it here ><textarea name="message" cols="74" rows="10" id="message"> Last edited by paulsra; 05-19-2008 at 03:45 AM. |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Extra fields contact owner form | CHRD | v3.1 Questions & Support | 4 | 08-17-2007 09:57 PM |
| Contact Owner Form | SteM | v3.1 Questions & Support | 2 | 01-02-2007 09:47 AM |
| maybe a new issue in 'contact us' form | frommarcq | v3.1 Questions & Support | 2 | 06-27-2006 10:15 AM |
| Contact Us form not sending e-mail after 3.1.1 upgrade | fjarabeck | v3.1 Questions & Support | 4 | 05-24-2006 08:29 PM |
| Contact the Owner - make form optional | fjarabeck | v3.1 Modules & Modifications | 2 | 05-14-2006 10:17 PM |