PhpDig.net

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

Reply
 
Thread Tools
Old 11-05-2003, 09:14 AM   #1
jive
Green Mole
 
Join Date: Oct 2003
Posts: 8
changing the results message.

hello, I have my search installed and it works great, I just have one problem. When I insert my search text box into my page, it also include the following phrase:

Please fill the search form field.

this is directly related to the <phpdig:result_message/> entry in the templates. Removing this, does remove the phrase above, however it also removes the results message after a search is performed (ex: Results 1-2, 2 total, on "pilot supplies" (0.11 seconds)

is there a way to remove the "Please fill the search form field." phrase without eliminating the result message after a search is performed.

I hope I made this clear...
__________________
Jonas R Flint
jive is offline   Reply With Quote
Old 11-05-2003, 12:36 PM   #2
druesome
Orange Mole
 
Join Date: Oct 2003
Posts: 30
Sure thing!

Open up search_function.php and look for the line:

$result_message = phpdigMsg('no_query').'.';

That pertains to a line in a file inside the 'locales' folder,
en-language.php. Look for the line in that file:

'no_query' =>'Please fill the search form field',

and change/erase the words between the quotes as you please.

You may also just change in search_function.php:

$result_message = phpdigMsg('no_query').'.';

to:

$result_message = "";


Good luck!
druesome 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
changing (moving positon of) the results message. WebSpider How-to Forum 3 05-03-2005 11:57 AM
Message for Rispbiz jerrywin5 The Mole Hole 0 03-08-2005 10:30 AM
Error message -GO- How-to Forum 2 08-20-2004 12:13 AM
Welcome message in template claudiomet How-to Forum 3 08-17-2004 03:58 PM
Changing sendmail_from value cmouysset Coding & Tutorials 0 05-10-2004 03:35 AM


All times are GMT -8. The time now is 03:22 PM.


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