![]() |
|
![]() |
#1 |
Green Mole
Join Date: Feb 2005
Posts: 16
|
changing (moving positon of) 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 MOVE the "Please fill the search form field." phrase into the WHITE results area without eliminating the result message after a search is performed. I hope I made this clear... |
![]() |
![]() |
![]() |
#2 |
Green Mole
Join Date: Apr 2005
Posts: 9
|
search_functions.php
$result_message = phpdigMsg('no_query').'.'; remove that line. |
![]() |
![]() |
![]() |
#3 |
Green Mole
Join Date: Feb 2005
Posts: 16
|
I don't get how that will actually make the "no results" message appear on the results area rather than on the upper right area of the screen...
So if the template displays the "results 1-10" or the "no results" message always on the same position (upper right part of the results screen), i just want to move the NO RESULTS message onto the same area actual results WOULD appear. Clearer now? ![]() |
![]() |
![]() |
![]() |
#4 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
The <phpdig:result_message/> comes from $result_message in the search_function.php file. You could try setting 'no_query' =>'', and 'noresults' =>'' in the language pack and make a new XML-like tag as shown in this thread.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
![]() |
![]() |
![]() |
Thread Tools | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Message for Rispbiz | jerrywin5 | The Mole Hole | 0 | 03-08-2005 10:30 AM |
Moving to a new server | ezytrak | How-to Forum | 1 | 03-03-2005 09:11 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 |
changing the results message. | jive | How-to Forum | 1 | 11-05-2003 12:36 PM |