OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Bug in ABNT citation plugin (OJS 2.4)

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

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

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

Bug in ABNT citation plugin (OJS 2.4)

Postby springday » Thu Sep 06, 2012 8:10 am

The OJS upgrade from 2.3.7 to 2.4 introduces the following line of code into the citation template of the ABNT citation plugin:

Code: Select all
{if $article->getDOI()}doi:{$article->getDOI()|escape}. {/if}


Yet the function getDOI() doesn't exist anymore in Article / Submission. ABNT template should be updated like e.g. APA template:

Code: Select all
{if $article->getPubId('doi')}doi:{$article->getPubId('doi')|escape}. {/if}


Greetings,
Kai
springday
 
Posts: 111
Joined: Wed Jul 25, 2012 2:56 pm
Location: Munich, Germany

Re: Bug in ABNT citation plugin (OJS 2.4)

Postby asmecher » Thu Sep 06, 2012 9:22 am

Hi Kai,

Bug entry and patch at http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=7856; thanks for contributing!

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Re: Bug in ABNT citation plugin (OJS 2.4)

Postby pyshen » Thu Sep 06, 2012 9:50 am

Yes that fixed my problem.

I was able to update database. I used the code change here https://github.com/pkp/ojs/commit/57f99 ... 9c6642c042

I have a new problem the Name of the Journal with the description is not appearing on the page with all the journal listings.
http://ojs.library.einstein.yu.edu/

Phil
pyshen
 
Posts: 20
Joined: Tue Jan 03, 2012 1:01 pm

Re: Bug in ABNT citation plugin (OJS 2.4)

Postby asmecher » Thu Sep 06, 2012 10:00 am

Hi Phil,

Have a look at the Site Adminstrator's "Site Settings" page; the contents of the journal listing are defined there. (Please start a new thread next time -- this thread is unrelated. It helps to keep the forum organized.)

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm


Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot] and 3 guests

cron