This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Setup & design » Newbie :D -> How to exclude a part of...
expandshrink

Newbie :D -> How to exclude a part of website from search...

Newbie :D -> How to exclude a part of website from search...

Thursday 07 April 2005 5:55:49 pm - 2 replies

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.

Thursday 07 April 2005 8:41:42 pm

>> 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 happy.gif Emoticon

Regards,

James

Modified on Thursday 07 April 2005 8:42:31 pm by James Packham

Friday 08 April 2005 3:06:18 pm

Thank's!

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from