OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki


Display DOI on abstract view of articles

OJS development discussion, enhancement requests, third-party patches and plug-ins.

Moderators: jmacgreg, michael, jheckman, barbarah, btbell, bdgregg, asmecher

Forum rules
Developer Resources:

Documentation: The OJS Technical Reference and the OJS API Reference are both available from the OJS Documentation page.

Git: You can access our public Git Repository here. Comprehensive Git usage instructions are available on the wiki.

Bugzilla: You can access our Bugzilla report tracker here.

Search: You can use our Google Custom Search to search across our main website, the support forum, and Bugzilla.

Questions and discussion are welcome, but if you have a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a technical support question, try the OJS Technical Support subforum.

Display DOI on abstract view of articles

Postby 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:&nbsp;{$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.edu
412-244-7509
vgabler
 
Posts: 74
Joined: Thu Feb 18, 2010 1:22 pm

Re: Display DOI on abstract view of articles

Postby jmacgreg » Thu Nov 11, 2010 4:12 pm

Hi Vanessa,

It turns out this has already been requested -- so I've rescheduled to our current development release, so it should be added in the (relatively) near future. See http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=4194. Thank for the comments!

Cheers,
James
James MacGregor
PKP Support Team
--
Questions? Before posting, please try:
Advanced Forums Search
OJS and OCS Documentation
Video Tutorials

Visit #PKP on IRC!
jmacgreg
 
Posts: 4153
Joined: Tue Feb 14, 2006 10:50 am

Re: Display DOI on abstract view of articles

Postby aleskl » Thu Jul 07, 2011 2:02 am

Is this now possible? To enable display of DOI on abstract page? I can edit the article.tpl, but if that is already possible via some setting, it would be great!
-Ales
aleskl
 
Posts: 67
Joined: Mon Apr 11, 2011 7:08 am

Re: Display DOI on abstract view of articles

Postby aleskl » Thu Jul 07, 2011 4:50 am

Thank you, I added the line in article.tpl, and I also added a DOI resolving link to it:
Code: Select all
{if $article->getDOI()}<div id="doi">doi:&nbsp;<a href="http://dx.doi.org/{$article->getDOI()|escape}">{$article->getDOI()|escape}</a></div>{/if}


In addition, I added the following into the theme CSS, to hide the line below the DOI link:
Code: Select all
#doi a {
   text-decoration: none;
}
aleskl
 
Posts: 67
Joined: Mon Apr 11, 2011 7:08 am

Re: Display DOI on abstract view of articles

Postby thebigaym » Sun Sep 18, 2011 2:35 pm

is this going to be added as an option for Journal Managers to implement? Our install is at 2.3.6. I updated our journal with the DOI, I reassigned all articles DOIs, and I even used the CrossRef export to submit an issue to CrossRef. But I'm not sure how to get the DOI to display in the abstract view.
thebigaym
 
Posts: 45
Joined: Thu Apr 09, 2009 8:25 am

Re: Display DOI on abstract view of articles

Postby jmacgreg » Wed Sep 21, 2011 3:30 pm

Hi thebigaym,

This has not yet been added to OJS, so you will have to manually edit the code as aleski suggests.

Cheers,
James
James MacGregor
PKP Support Team
--
Questions? Before posting, please try:
Advanced Forums Search
OJS and OCS Documentation
Video Tutorials

Visit #PKP on IRC!
jmacgreg
 
Posts: 4153
Joined: Tue Feb 14, 2006 10:50 am

Re: Display DOI on abstract view of articles

Postby ivolt » Tue Mar 05, 2013 7:56 am

I gather this is still not implemented? I find this quite surprising, as DOIs are very frequently used nowadays.
ivolt
 
Posts: 1
Joined: Tue Mar 05, 2013 7:55 am


Return to OJS Development

Who is online

Users browsing this forum: No registered users and 1 guest