contact owner form

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 ...


Go Back   68 Classifieds Forums > General > HTML, CSS, and Design Help

 
LinkBack Thread Tools Display Modes
  #1  
Old 03-03-2008, 12:09 PM
Member
 
Join Date: Mar 2007
Posts: 32
Rep Power: 7
Default contact owner form

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
Reply With Quote
  #2  
Old 03-03-2008, 12:12 PM
68 Classifieds Staff
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,007
Rep Power: 92
Default

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
Reply With Quote
  #3  
Old 03-03-2008, 12:30 PM
Member
 
Join Date: Mar 2007
Posts: 32
Rep Power: 7
Default

Quote:
Originally Posted by suzkaw View Post
That file should be templates/default/contact/contactowner.tpl.php or contactus.tpl.php depending on which page you would like.
Thank you for the reply.

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
Reply With Quote
  #4  
Old 03-03-2008, 12:42 PM
68 Classifieds Staff
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,007
Rep Power: 92
Default

Oh sorry.

What would do is find this line:
Code:
size="{$smarty.const.FIELD_SIZE}"
and change it to this:
Code:
size="50"
Or if you want to change this everywhere you can open the language file and locate:
Code:
define("FIELD_SIZE", "30");
Then change 30 to 50. Keep in mind this would global to all fields that use it.
__________________
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
Reply With Quote
  #5  
Old 03-03-2008, 03:10 PM
Member
 
Join Date: Mar 2007
Posts: 32
Rep Power: 7
Default

Got it

Thank you very much!
__________________
motorcycle-place
Reply With Quote
  #6  
Old 05-19-2008, 01:50 AM
Senior Member
 
Join Date: Oct 2007
Location: victoria, Australia
Posts: 175
Rep Power: 8
Default

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.
Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT -4. The time now is 07:34 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22