Hi everyone,
I just wanted to ask which hook one would have to use to add a new setting to the submission_chapter_settings table. Schema::get::chapter does not seem to exist?
Hi everyone,
I just wanted to ask which hook one would have to use to add a new setting to the submission_chapter_settings table. Schema::get::chapter does not seem to exist?
Hi @vmayer,
In OMP 3.4.0, the chapter storage uses the older DAO-based code, rather than the more modern Schema toolset. So in order to add a new setting, you’ll need to use the chapterdao::getAdditionalFieldNames
and chapterdao::getLocaleFieldNames
hooks. There’s an example you could follow in the old ORCiD profile plugin for 3.3.0, using a different DAO – see:
Regards,
Alec Smecher
Public Knowledge Project Team
This topic was automatically closed after 9 days. New replies are no longer allowed.