View Full Version : Site is indexed by Yahoo, but no results returned...
dev396590
07-23-2010, 11:34 AM
Would it possible to take a look at this site and determine if there is something awry with the search box coding. I'm guessing this could be the culprit, as all else seems OK:
http://tinyurl.com/2aqewjb
Just found the following on the forum and updated the code, and now the 'No results found...' message is gone, but still nothing appears in the results region:
<?php if($_SERVER["REQUEST_METHOD"] == "POST") { ?>
<?php
if ("".($Search1_BOSS_all) ."" == "0") { // WebAssist Show If
?>
<div>No results found matching your search.</div>
<?php
} // ("".($Search1_BOSS_all) ."" == "0")
?>
<?php } ?>
Thanks in advance for any help!
Jason Byrnes
07-23-2010, 01:26 PM
can you send a copy of the results page please.
dev396590
07-23-2010, 03:05 PM
Please let me know if you can work with the attached...
Thanks again!
dev396590
07-28-2010, 12:49 AM
Client getting restless. Would appreciate a little help...
Jason Byrnes
07-28-2010, 08:00 AM
The search for boss behavior is set to trigger on a form element named "Search", your search box is named "s":
change:
<input type="text" value="" name="s" class="searchbox">
to:
<input type="text" value="" name="Search" class="searchbox">
dev396590
07-28-2010, 08:40 PM
Thank you, Jason. I'll give that a shot in the morning. Much appreciated...
Jason Byrnes
07-29-2010, 06:35 AM
you're welcome.
dev396590
07-29-2010, 09:18 AM
As a test, I've replaced the code as indicated about on one page prior to going site-wide, and getting same outcome — nothing appears in the 'results region'. Here's the page that was updated: http://tinyurl.com/262d77d
Thanks again for your time on this one, Jason. Hopefully it's an obvious error that I've overlooked. Let me know if there is anything else you'll need. Thanks!
Jason Byrnes
07-29-2010, 10:22 AM
I get a result on that page if i use the search term "services"
dev396590
07-29-2010, 10:36 AM
That is odd. I tried obvious terms (like 'spices') and nothing. But sure enough, 'services' renders a result. Maybe not all pages have been indexed by Yahoo! yet? Would love to know the reason, but happy all is well otherwise ;-p
One more quick question if you don't mind: How would I apply CSS to style the actual results?
Thanks again for time and guidance on this, Jason. Very much appreciated!
Jason Byrnes
07-29-2010, 10:39 AM
all of the boss search php tags are inside plain divs, for exampole:
<div><?php echo(getBOSSValue($SearchTDD_BOSS_feed,$SearchTDD_ BOSS_index,"abstract")); ?></div>
you can either apply classes to these divs, or you could add inline styles to them.
dev396590
07-29-2010, 03:51 PM
Thanks again for all of your help!
Jason Byrnes
07-30-2010, 06:53 AM
No worries.
vBulletin® v3.8.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.