PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 11-04-2003, 02:23 PM   #1
jive
Green Mole
 
Join Date: Oct 2003
Posts: 8
resizing the text form field...

can somebody tell me how I can set the text field to any size that I want. The default size is too large for my page...
__________________
Jonas R Flint
jive is offline   Reply With Quote
Old 11-05-2003, 12:44 PM   #2
druesome
Orange Mole
 
Join Date: Oct 2003
Posts: 30
Right off the bat, open function_phpdig_form.php in the libs folder.

Go to line 47 or look for the line:

$result['form_field'] = "<input type='text' class='phpdiginputtext' name='query_string' size='24' .......


Change the number 24 between the quotes to any value you desire. Tell me if it works. Haven't tested it.
druesome is offline   Reply With Quote
Old 11-05-2003, 01:33 PM   #3
Rolandks
Purple Mole
 
Rolandks's Avatar
 
Join Date: Sep 2003
Location: Kassel, Germany
Posts: 119
It works! I have tested and use it

5.) Size and Maxlength not in config.php (minor Feature)
http://www.phpdig.net/showthread.php?s=&threadid=58

-Roland-
Rolandks is offline   Reply With Quote
Old 11-05-2003, 04:05 PM   #4
jive
Green Mole
 
Join Date: Oct 2003
Posts: 8
thanks, works like a charm.
__________________
Jonas R Flint
jive is offline   Reply With Quote
Reply


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 Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
search from the search field on my hompage sbrazil How-to Forum 1 09-25-2004 08:39 AM
Hello form Venezuela aquinter The Mole Hole 1 09-24-2004 06:50 PM
How to include just the text field from search form? scarpelius How-to Forum 1 08-10-2004 06:05 PM
Description meta tag field in results flyingtwig How-to Forum 3 08-09-2004 08:58 AM


All times are GMT -8. The time now is 05:11 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.