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

"Mirador" tag is added independently of Islandora Mirador being enabled #1608

Closed
mjordan opened this issue Sep 6, 2020 · 4 comments
Closed

Comments

@mjordan
Copy link
Contributor

mjordan commented Sep 6, 2020

Islandora Defaults add the "Mirador" display hint tag (https://github.com/Islandora/islandora_defaults/blob/8.x-1.x/migrate/tags.csv#L4), regardless of whether Islandora Mirador is enabled (it isn't by default). This means that the "Mirador" display hint is exposed to the user even when that module is not enabled, which I believe is confusing:

displayhints

Couple of possible fixes:

  • document this
  • move the migration that adds the "Mirador" display hint tag from Islandora Defaults to the Islandora Mirador module

Other suggestions?

@mjordan mjordan changed the title "Mirador" tag is added independently of Islandora Mirado being enabled "Mirador" tag is added independently of Islandora Mirador being enabled Sep 6, 2020
@kayakr
Copy link
Contributor

kayakr commented Sep 6, 2020

@mjordan This could be moved to Islandora Mirador. On canterburystories.nz we have several custom modules adding display hints like Carousel, or Slideshow, leaving Islandora Defaults untouched but migrating terms to islandora_display taxonomy.

@elizoller
Copy link
Member

Ah ok. Like a migration in islandora_mirador that adds the Mirador term to the islandora display hints vocabulary?

@seth-shaw-unlv
Copy link
Contributor

Not necessarily a migration. You can add it in an install/update hook.

@elizoller
Copy link
Member

Right. I’ll try to get a PR up today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants