by vgabler » Tue Nov 09, 2010 1:53 pm
Hi,
Our System Administrator found a way to have the DOI display automatically above the title when viewing the abstract page of an article. Could this be included in a future release? I know it is fairly standard for scientific journals to display the DOI in this manner. His fix is pasted below:
In the directory templates/article:
*** article.tpl.orig Tue Nov 9 15:08:26 2010
--- article.tpl Tue Nov 9 15:13:32 2010
***************
*** 69,74 ****
--- 69,75 ----
<div id="articleCoverImage"><img src="{$coverPagePath|escape}{$coverPageFileName|escape}"{if $coverPageAltText != ''} alt="{$coverPageAltText|escape}"{else} alt="{translate key="article.coverPage.altText"}"{/if}{if $width} width="{$width|escape}"{/if}{if $height} height="{$height|escape}"{/if}/>
</div>
{/if}
+ {if $article->getDOI()}<div id="doi">doi: {$article->getDOI()|escape}</div>{/if}
{call_hook name="Templates::Article::Article::ArticleCoverImage"}
<div id="articleTitle"><h3>{$article->getLocalizedTitle()|strip_unsafe_html}</h3></div>
<div id="authorString"><em>{$article->getAuthorString()|escape}</em></div>
All best,
Vanessa Gabler
Electronic Publications Manager
Office of Scholarly Communication and Publishing
University Library System, University of Pittsburgh
vgabler@pitt.edu412-244-7509