Hi,
we need additional tabs to store press-specific data, for instance in catalogEntryTabs.tpl and profile.tpl
I wrote a plugin that adds a tab to catalogEntryTabs.tpl. I just still need to add code in catalogEntryTabs.tpl manually (to create the link). Could you either:
-
explain me how I can replace this template via a plugin (it’s called in the CatalogEntryHandler with $templateMgr->fetchJson(‘controllers/modals/submissionMetadata/catalogEntryTabs.tpl’ so I don’t get it via display, include or setTemplate) or
-
add a hook in the template (+ a variable for the tab position).
I would very much prefer option 2, we want to replace as little templates as possible, in case another plugins need to change the template as well.
We would also need a hook for another tab in the profile to store user specific data for our public profile plugin and our hall of fame plugin that we will also give to the community).
best,
Carola