I want to add the “and” between author names. For example,
Author1 and author……
Author1, author2, and author3….
How can I make this?
Thank you in advance.
Gökmen
I want to add the “and” between author names. For example,
Author1 and author……
Author1, author2, and author3….
How can I make this?
Thank you in advance.
Gökmen
Hi @Gokmen_ARSLAN,
Where would you like the “and” to appear between author names? On the journal article page that end users see? On the journal table of contents page that end users see? Or somewhere else?
Thanks,
Amanda Stevens
Public Knowledge Project Team
I want to add between writers of article, like see the image
I think you can change this by modifying the table of contents template (templates/issue/issue.tpl).
Best,
Amanda Stevens
Public Knowledge Project Team
I use the OJS 3.1.
Where is the issue.tpl?
I didnot find under tambles.
thanks.
You can find it in the folder templates/frontend/pages.
Best,
Amanda Stevens
Public Knowledge Project Team
Is it?
What should I make here?
Best,
Gökmen
This is actually coming from the Article::getAuthorString()
method, as called here:
Article::getAuthorString()
is implemented in Submission::getAuthorString()
:
This method supports a second parameter which you could use to change the separator in all instances. It looks from your initial question that you only want to add the “and” before the last author. You will need familiarity with Smarty / PHP, and comfort managing local code changes over the long term, to make this change.