Forum topic: thumbnails in the search results
Submitted by leetamus on Tue, 2008/08/05 - 23:01.
Hi again!
I've managed to make a youtube-style site, but have a problem. When searching the site I get the title then this below it:
Get Flash to see this video. var FO = { movie:"/schoolwaxtv.com/modules/op_video/mediaplayer.swf", width:"450",height:"357",majorversion:"7",build:"0",bgcolor:"#FFFFFF", allowfullscreen:"true",flashvars:"id=43&callback=/schoolwaxtv.co ...etc
I'm very surprised I can't seem to find a fix to this outside of just displaying the title in the search results.. really I want to display the thumbnail image below the title.. but I don't really get php so I doubt I can do this on my own.






found a somewhat better method:
$item['snippet'] = theme('node', $item['node']);
$output = '
return $output;
this displays the entire node as the search result.. way better than just showing code, but im still looking for a method to just show the teaser...
you might want to have a look at my discussion with jbrown in "thumbnail in custom template" thread for how i've got just the thumbnail image into my template
-joseph
Post new comment