collective / collective.lineage

Turns subfolders of a Plone site to appear as autonomous Plone sites
https://pypi.org/project/collective.lineage
12 stars 9 forks source link

Excluding subsite content from parent site search #47

Closed richardtc closed 7 years ago

richardtc commented 7 years ago

Please could you advise on how to exclude subsite content from search outputs conducted on the parent site. I've checked installation files and online guidelines but I cannot work out how to do this. I've also cleared and rebuilt the portal_catalog in the ZMI. Many thanks for your assistance.

Addons: collective.lineage = 2.1 collective.rooter = 1.0 lineage.index = 0.5 lineage.registry = 1.3.3 lineage.themeselection = 2.0

Plone 5.0.6 (5016) CMF 2.2.10 Zope 2.13.24 Python 2.7.12 (default, Oct 12 2016, 13:45:40) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)] PIL 3.3.0 (Pillow)

richardtc commented 7 years ago

I think I misunderstood how lineage works. In my situation, I'm adding a small subsite, as an autonomous site, to an established website and wish to exclude content from the subsite from parent site searches. Probably the easiest way to do this is to clone new content types for the subsite and exclude from the search settings in plone. Maybe there are better ways...