The param “{$doiUrl|regex_replace:’/http.*org//’:’’}” isn’t working, so I’m trying to rewrite in a different way but without success. The code from template is that:
{* DOI only for large screens *}
{foreach from=$pubIdPlugins item=pubIdPlugin}
{if $pubIdPlugin->getPubIdType() != 'doi'}
{php}continue;{/php}
{/if}
{assign var=pubId value=$article->getStoredPubId($pubIdPlugin->getPubIdType())}
{if $pubId}
{assign var="doiUrl" value=$pubIdPlugin->getResolvingURL($currentJournal->getId(), $pubId)|escape}
<a href="{$doiUrl}" class="article-doi">{$doiPrefix}/{doiSuffix}</a>
{/if}
{/foreach}