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

Add more Mirador configuration keys as theme variables. #41

Closed
alxp opened this issue Mar 5, 2024 · 0 comments
Closed

Add more Mirador configuration keys as theme variables. #41

alxp opened this issue Mar 5, 2024 · 0 comments

Comments

@alxp
Copy link
Contributor

alxp commented Mar 5, 2024

Mirador's appearance and behaviour is mostly controlled via options passed to the 'window', 'windows' and 'workspace' arrays.

Islandora Mirador should allow modules to add in these options via theme variables.

For example, a module should be able to implement a hook like this:

function mymodule_preprocess_mirador(&$variables) {
  $variables['window_config']['allowClose'] = FALSE;
  }
}

These settings should also be settable when instantiating Mirador's Block object class.

@alxp alxp mentioned this issue Mar 5, 2024
seth-shaw-asu added a commit that referenced this issue Mar 6, 2024
@rosiel rosiel closed this as completed Mar 6, 2024
This issue was closed.
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

2 participants