[support] How do you stop info on search result?

A-NO-NE Music madflute at anonemusic.com
Sat May 26 07:46:17 UTC 2007


sessy / 2007/05/26 / 05:23 AM wrote:

>I don't think there's an admin settings page or module to do it, but you
>can quickly override
>themes_search_item:
>http://api.drupal.org/api/5/function/theme_search_item

Nice!  Thank you!

Well, commenting out a few lines made it work as I wanted, but I don't
exactly know what I am doing.

    ($item['snippet'] ? '<p>'. $item['snippet'] . '</p>' : '')

Why this way, is way beyond my PHP knowledge.  But I hope I should see
obvious error if my modification was bad, and since I see the result as
expected, I am doing OK, yes?

-- 

- Hiro

Hiroaki Honshuku, A-NO-NE Music, Boston, MA
<http://a-no-ne.com> <http://anonemusic.com>




More information about the support mailing list