Page 1 of 1
No search of Section Headers in Search module possible?
Posted: Mon Feb 04, 2008 10:20 pm
by dvanoss
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.
Re: No search of Section Headers in Search module possible?
Posted: Mon Dec 15, 2008 7:15 am
by vikram31291
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}
Re: No search of Section Headers in Search module possible?
Posted: Mon Dec 15, 2008 8:10 am
by klenkes
dvanoss wrote:
...and there is no place I can see to add the "" tag to prevent searching the page.
I was faced with the same problem.
Another option is to put in the field: Extra Page Attribute 1
and then reindex the content.