ORCID formatting on article view page

When an author has ORCID, it appears not within that author’s div but between author divs.

This makes the following author entry start on the same line as the ORCID.

Example from https://jedm.educationaldatamining.org/index.php/JEDM/article/view/334

Andrew Olney
University of Memphis
  https://orcid.org/0000-0003-4204-6667 Ryan S. Baker
University of Pennsylvania
Michel C. Desmarais
Polytechnique Montreal
Agathe Merceron
Beuth University of Applied Sciences Berlin
Kalina Yacef
University of Sydney

Any pointers on what file controls this? My version is OJS 3.1.1.0.

Hi @aolney,
If you use the default theme, it is controlled by the following file:

templates/frontend/objects/article_details.tpl

However, if you use a custom theme, you should look for the following file:

plugins/themes/your-custom-thememe/templates/frontend/objects/article_detail.tpl

Best regards,

Thanks, that solved it. FWIW it was a custom theme called “responsive”. I added divs around the span:

							{if $author->getOrcid()}
							    <div>
								<span class="orcid">
									<a href="{$author->getOrcid()|escape}" target="_blank">
										<img src="//orcid.org/sites/default/files/images/orcid_16x16.png">
										{$author->getOrcid()|escape}
									</a>
								</span>
								</div>
							{/if}

Now my text looks like this (see original page link for true formatting):

Andrew Olney
University of Memphis
ORCID
Ryan S. Baker
University of Pennsylvania
Michel C. Desmarais
Polytechnique Montreal
Agathe Merceron
Beuth University of Applied Sciences Berlin
Kalina Yacef
University of Sydney

1 Like

Glad I could help you.

If you want to make it look better, you can use a border below each authors details with the help of css.
Please look into “Details” tab on the right bar of this article:
https://jlmc.edu.np/index.php/JLMC/article/view/173

Best regards,