PhpDig.net

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

Reply
 
Thread Tools
Old 05-02-2005, 03:47 AM   #1
WebSpider
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...
WebSpider is offline   Reply With Quote
Old 05-02-2005, 04:45 PM   #2
boyd
Green Mole
 
Join Date: Apr 2005
Posts: 9
search_functions.php

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

remove that line.
boyd is offline   Reply With Quote
Old 05-02-2005, 08:43 PM   #3
WebSpider
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?
WebSpider is offline   Reply With Quote
Old 05-03-2005, 10:57 AM   #4
Charter
Head Mole
 
Charter's Avatar
 
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.
Charter is offline   Reply With Quote
Reply

Thread Tools

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
Message for Rispbiz jerrywin5 The Mole Hole 0 03-08-2005 09:30 AM
Moving to a new server ezytrak How-to Forum 1 03-03-2005 08:11 AM
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
changing the results message. jive How-to Forum 1 11-05-2003 11:36 AM


All times are GMT -8. The time now is 02:16 PM.


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