Forums / Setup & design / Newbie :D -> How to exclude a part of website from search...
Mateusz Krzeszowiec
Thursday 07 April 2005 8:55:49 am
Hi.
I got a large part of website that I don't want to be searched from (few different classes, that I also use in other parts of site).
I know that I can exclude some node id's (or classes and such) but is there any place in admin panel where I can do it in 2 minutes?
And if not, where should I look for search results template.
James Packham
Thursday 07 April 2005 11:41:42 am
>> I know that I can exclude some node id's (or classes >> and such) but is there any place in admin panel>> where I can do it in 2 minutes?
Not to my knowledge.
>> And if not, where should I look for search>> results template.
In older versions of ez it was under standard/templates/search/, but now I believe it's moved to design/base/templates/content/search.tpl. You'll find the code you need under a sections named "SearchResult".
I assume you're thinking about using "section shows" to limit the content which is displayed? It should work, but if you're blocking a lot of stuff it'll be a big template :)
Regards,
James
Friday 08 April 2005 6:06:18 am
Thank's!