开发者

hide single taxonomy term in particular view display

开发者 https://www.devze.com 2022-12-12 00:54 出处:网络
Have a documents content type, with three taxonomies applied to it. Taxonomies are document type (form, policy, other), document group (hr, i.t., training, project specific, etc.), and a free-tagged p

Have a documents content type, with three taxonomies applied to it. Taxonomies are document type (form, policy, other), document group (hr, i.t., training, project specific, etc.), and a free-tagged project name (for when document group = project specific).

Have single view displaying all documents, segregated by tabbed page displays:

  • All page/tab is for all docs
  • Forms page/tab is limited to doc type = form
  • Policy page/tab is limited to doc type = policy
  • Project Specific Docs is limited to doc group = project specific

Exposed Filter on individual pages:

  • Within Form and Policy pages, we offer an exposed filter of document groups as dropdown control. So for instance on the forms page you can quickly filter to just HR forms.
  • On the project specific docs page, we offer an exposed filte开发者_Python百科r of project names, so you can quickly filter to your project, but these docs can be forms and/or policy.

Now that we have the project specific page/tab, we want to remove 'project specific docs' taxonomy term from the Forms and Policy page/tabs dropdown filter on just those two views page displays. It's already filtered out, so if you select Project Specific Docs on those pages you get no results. Just need to remove the option from the select list.

UPDATE: found my own answer


4 hours later, realized I've been overthinking this. In the exposed filter there is a simple checkbox to "Limit list to selected items, If checked, the only items presented to the user will be the ones selected here." Derrrr. And it is per display page.

0

精彩评论

暂无评论...
验证码 换一张
取 消