You should be able to use the following Smarty snippet to get the DOI for OJS 2.3.x:
- Code: Select all
{$article->getDOI(true)|escape}
Regards,
Alec Smecher
Public Knowledge Project Team
Moderators: jmacgreg, michael, jheckman, barbarah, btbell, bdgregg, asmecher
{$article->getDOI(true)|escape}asmecher wrote:Hi Daryl,
You should be able to use the following Smarty snippet to get the DOI for OJS 2.3.x:
- Code: Select all
{$article->getDOI(true)|escape}
Regards,
Alec Smecher
Public Knowledge Project Team
{$currentJournal->getSetting('onlineIssn')|escape}{$currentJournal->getSetting('printIssn')|escape}asmecher wrote:Hi Darryl,
Sorry -- somehow I misread ISSN as DOI. To get the ISSN:...or...
- Code: Select all
{$currentJournal->getSetting('onlineIssn')|escape}Regards,
- Code: Select all
{$currentJournal->getSetting('printIssn')|escape}
Alec Smecher
Public Knowledge Project Team
asmecher wrote:Hi Darryl,
For the Table of Contents, try templates/issue/issue.tpl; for the article view page, templates/article/article.tpl.
Regards,
Alec Smecher
Public Knowledge Project Team
asmecher wrote:Hi Darryl,
That'll likely be a problem with where in the template you put the snippet of code and how the resulting output is styled. I'm not sure what you have in mind, or where you put the code, but if you can provide a screenshot that indicates where you want the ISSN to appear, I might be able to suggest something.
Regards,
Alec Smecher
Public Knowledge Project Team


asmecher wrote:Hi Darryl,
Have you tried putting the code snippet at the very end of templates/issue/issue.tpl?
Regards,
Alec Smecher
Public Knowledge Project Team
asmecher wrote:Hi Darryl,
Hmm, do you have a URL you could share with me?
Regards,
Alec Smecher
Public Knowledge Project Team
Return to OJS Technical Support
Users browsing this forum: No registered users and 0 guests