No search of Section Headers in Search module possible?
No search of Section Headers in Search module possible?
Is it possible to not search pages tagged as "Section Headers"? They are showing up as unusable links (just a "#") in search results and there is no place I can see to add the "" tag to prevent searching the page.
-
- Forum Members
- Posts: 21
- Joined: Fri Aug 01, 2008 5:42 pm
Re: No search of Section Headers in Search module possible?
you can edit the results template and make it ignore printing the cases where the $entry-> url equals "#"
ie.
{if $entry->url == "#"}
do nothing
{else}
print result
{/if}
ie.
{if $entry->url == "#"}
do nothing
{else}
print result
{/if}
Re: No search of Section Headers in Search module possible?
I was faced with the same problem.dvanoss wrote: ...and there is no place I can see to add the "" tag to prevent searching the page.
Another option is to put in the field: Extra Page Attribute 1
and then reindex the content.