By Lowbacca on
I have the Search feature on my site working but I'd like to know how to turn off at the bottom of the results this line:
"page - MaNing - 2006-09-17 21:30."
I understand that it's the page, who created it with a time and date stamp but the person I am buidling this site for does not want this there. I've poked around the Admin > Settings > Search and can't seem to find where I can click to turn this off. Is it possible to do?
Thanks!!!!
Comments
You probably have to
You probably have to override one of the search module's theme_something() functions.
Look at theme_search_item
I needed to do this, too. I don't think there is a setting (although I'd be very happy to be proved wrong). I wound up cutting the relevant bit in the search module, in the function theme_search_item.
In 4.7.4 it's around line 1237:
Instead of modifying the
Instead of modifying the core code, override the theme_search_item() function. http://api.drupal.org/api/4.7/function/theme_search_item
I think the way you do this is to copy the function into a file called template.php in your theme directory and rename the function to themename_search_item() (eg garland_search_item()) and then modify it there.
[edit] btw you can turn off the "submitted by" details for content types in the theme configuration in Drupal 5, but Im not sure if it turns it off in the search (just when viewing the content maybe).
Do it the easy way
Hi,
Just use CSS. Look what property is used to style that string of text and then give it a display:none; style. Now you can not see it anymore and you have not changed your basic drupal install.
Thanks for all the responses!!!!!
I talked to friend and recommeded the Tmangemment fix.
Thanks Again!!!!!!!!!
just use admin/themes/settings
go under global settings in theme setting and turn off "Display post information on" for all the content types.