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
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

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: 8597
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: 8597
Joined: Wed Aug 10, 2005 12:56 pm


Return to OJS Technical Support

Who is online

Users browsing this forum: Google [Bot] and 10 guests