|
11-05-2003, 08:14 AM | #1 |
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 |
11-05-2003, 11:36 AM | #2 |
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! |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
changing (moving positon of) the results message. | WebSpider | How-to Forum | 3 | 05-03-2005 10:57 AM |
Message for Rispbiz | jerrywin5 | The Mole Hole | 0 | 03-08-2005 09:30 AM |
Error message | -GO- | How-to Forum | 2 | 08-19-2004 11:13 PM |
Welcome message in template | claudiomet | How-to Forum | 3 | 08-17-2004 02:58 PM |
Changing sendmail_from value | cmouysset | Coding & Tutorials | 0 | 05-10-2004 02:35 AM |