I wonder if anyone can help me to activate author’s affiliation to be shown underneath the name or any where OJS (2.4.8) has already been set before. I could not find a way to do it. Do we need to edit the codes or it has be fixed on the journal set up section.
Hi @aiac,
For OJS 2.x, you’ll need to make a template modification – see templates/article/article.tpl
and look for the call to getAuthorString
, which fetches and displays the author listing.
Regards,
Alec Smecher
Public Knowledge Project Team
Hi@ asmecher
Thanks for your note. What kind of changes has to be made @ getAuthorString ?
Hi @aiac,
You can either modify the implementation of getAuthorString
in lib/pkp/classes/submission/Submission.inc.php
– but note that this will add the affiliation to other parts of the system that use this function. The best approach is probably to replace that function with a Smarty {foreach}
loop that makes use of the $article->getAuthors()
function and presents each author as you like.
Regards,
Alec Smecher
Public Knowledge Project Team
Many thanks for your help.
Hi Alec,
How to create a block containing list of affiliations on the issue view in OJS 2.4.8.0
Best wishes,
Romy