-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
Once I've saved an exhibit's theme configuration, I can no longer access the values via the theme_options filter. Omeka_Form_ThemeConfiguration::init() does call this filter via Theme::getOptions() if nothing has been saved, but Exhibit Builder never calls the filter if theme options have been loaded from the exhibits table.
Steps to reproduce
- Implement the theme_options filter in a plugin class like so:
protected $_filters = ['theme_options'];
public function filterThemeOptions($serializedOptions, $args)
{
echo 'asdf';
return $serializedOptions;
}- Edit an exhibit, switch to another theme, and configure it.
- Notice the 'asdf' at the bottom of the page.
- Save the theme configuration form.
- Press Configure again.
Expected behavior
'asdf' should still be at the bottom of the page.
Actual behavior
'asdf' is not present.
Metadata
Metadata
Assignees
Labels
No labels