ISSN (print) and ISSN (ejournal)

Hi there again,

we have noticed that we are able to include the print ISSN as well as the online ISSN, but only one of them is shown. There is also no clue (for the reader) which one. For now we often write them in the footer manually, but it would be better if the system would show both of them with the right description. Would it be an interesting function for the next update or version 3.0?

Thank you for all your help and kind regards
Daniela Wolf

Hi @UBWolf,

Where are you seeing the ISSN displayed?

Regards,
Alec Smecher
Public Knowledge Project Team

Hi Alec,

it’s written on every page under the content (example: http://journals.ub.uni-heidelberg.de/index.php/akmb-news/index).

Kind regards
Daniela

Hi @UBWolf,

I believe that’s been entered in Journal Setup, page 5, in the footer field.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi Alec,

no, the footer field is empty. I tested it myself, the ISSN shows if you write something in the issn fields on page 1, but only the online ISSN, not the print ISSN.
Of course you can write them in the footer field and some of our editors do that to have both online and print ISSN in the footer, but that’s only a workaround and not really a satisfying solution. It would be better if the print ISSN shows when the print ISSN field is filled like it does with the online ISSN.

Kind regards
Daniela

This is in the 2.4.6 codebase at: ojs/footer.tpl at ojs-stable-2_4_6 · pkp/ojs · GitHub

It only appears if a footer is not otherwise defined.

1 Like

Hi @UBWolf & @ctgraham,

Ah, thanks, Clinton – I missed that.

@UBWolf, if you’re handy with HTML, you should be able to customize that as you like. If you get stuck, let me know and I can help.

Regards,
Alec Smecher
Public Knowledge Project Team

I do it this script in the ojs/templates/common/footer.tpl :

 {strip} 
    {if $pageFooter==''}
  
  
    	{if $currentJournal && $currentJournal->getSetting('onlineIssn')}
  
  
    		{assign var=issn value=$currentJournal->getSetting('onlineIssn')}
  
         	{elseif $currentJournal && $currentJournal->getSetting('printIssn')}
         		{assign var=issn value=$currentJournal->getSetting('printIssn')}
         	{/if}
          	{if $issn}
  
  		{translate|assign:"issnText" key="journal.issn"}
              		{assign var=pageFooter value="$issnText: $issn"}
  
         	{/if}
        
    {/if}
  
  
    {include file="core:common/footer.tpl"}
  
  
    {/strip}

but isn’t appear the ISSN in footer ojs 3 ?
Can you help me please

<div class="issn">
  {$currentJournal->getSetting('onlineIssn')}
</div>

You can also put this lines inside if operator to check whether this variable exists.

In your example you have assigned ISSN to the variable issn but not actually shown it anywhere.

Hi,
I am using ojs 3.1.0 with MySQL and PHP 5.6 in local and I trying to print a list of specific journals.
I add my Handler in Application
I created a ClassDAO with functions to search journals.
I created a Handler and called My class DAO and it returns my journals like this:

$mytest = $testDAO->getPrintIssnJournals($args,$request);

$templateMgr = TemplateManager::getManager($request);
$templateMgr->assign('mytest',$mytest);
$templateMgr->display('frontend/pages/test.tpl');

In my templates/frontend/pages/test.tpl

How can I print all the journals with printIssn and onlineIssn in a new page (test.tpl)?
I tried to use {iterate from=journals item=journal} {$journal->getSetting(‘printIssn’);} but it isn’t working.No errors
I activated errors in my config.inc.php and php.ini

error_reporting=E_ALL & ~E_DEPRECATED & ~E_STRICT

What do I missing?
How can I display errors in my templates with smarty ?

I followed this links:
https://pkp.sfu.ca/wiki/index.php?title=Front-end_Cookbook

https://forum.pkp.sfu.ca/t/displaying-issn-nr-at-site-homepage/3917/2

https://forum.pkp.sfu.ca/t/displaying-issn-nr-at-site-homepage/3917/3
Regards,
xavi.

Hi, I resolved the problem.
I modify Handler and view to display data.