Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to use Entity Reference Hierarchy module #275

Open
joshua-graham-adelphi opened this issue Aug 16, 2021 · 3 comments
Open

Document how to use Entity Reference Hierarchy module #275

joshua-graham-adelphi opened this issue Aug 16, 2021 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@joshua-graham-adelphi
Copy link
Contributor

Now that the Entity reference Hierarchy module is in GovCMS (@see #236), it should be documented with examples, use cases, how SaaS sites can take full advantage, how it might replace the "permissions_by_term" module in GovCMS 8 - which prevents access to certain pages depending of which taxonomy terms are tagged to the page, etc..

Some attempts at understanding the module:

  • I tried it but to get the "menu" system of Entity Reference Hierarchy working, but had to use the 'entity_hierarchy_microsite" submodule. This this by design ? Surely I don't have to have the first the level of my "menu" system to be the homepage link? (@see https://www.drupal.org/project/entity_hierarchy/issues/3129668)
  • Additionally, you can only move one page an at time (by changing the entity_hierarchy field) , not the whole sub structure? (@see https://www.drupal.org/project/entity_hierarchy/issues/3178313 - seems bad UX)
  • I couldn't find away to "sync/reset" the generated menu if edited (e.g. a non EH node is inserted between EH nodes)
  • How do you respectively apply the module features to existing sites ?
@pandaskii pandaskii added the help wanted Extra attention is needed label Aug 26, 2021
@Els-SLHD
Copy link

Bumping this one as we are finding the same issue, particularly around the microsite pages being tied to main site hierarchy, and 'breaking' ability to use sidebar nav in microsites...?

@larowlan
Copy link

larowlan commented Apr 4, 2023

Hi, normally the 'menus' with entity hierarchy are built with views.
The microsite menus are really only useful if you're using it for microsites

@larowlan
Copy link

larowlan commented Apr 4, 2023

how it might replace the "permissions_by_term" module in GovCMS 8 - which prevents access to certain pages depending of which taxonomy terms are tagged to the page, etc..

Entity hierarchy does not do anything relating to access.

There is a sub-module that integrates with Workbench Access (see #224) but Workbench Access only controls access to edit and delete content, not to view.

So it cannot replace the functionality of Permissions By Term

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants