[OJS3] DOI prefix in journal Home Page

Dear all,

Do you know how to display DOI prefix in Journal Home Page using PubIds plugin?
I’m trying to use:
$pubIdPlugins = PluginRegistry::loadCategory(‘pubIds’, true);
$templateMgr->assign(‘pubIdPlugins’, $pubIdPlugins);

but it returns only this info:
Array (1)
doipubidplugin => DOIPubIdPlugin Object (3)
->pluginPath = “plugins/pubIds/doi”
->pluginCategory = “pubIds”
->request = null

Thanks in advice.

Regards,

Cristhian Rey

Hi @Cristhian_Andres_Rey,

You’ll want to use the DOIPubIdPlugin::getSetting function. The setting name for the DOI prefix is doiPrefix. (Speaking for OJS 3.0.2, but I believe this applies generally to other versions.)

Regards,
Alec Smecher
Public Knowledge Project Team