Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with the display of author's information #170

Closed
letailli opened this issue Jun 24, 2021 · 2 comments
Closed

Problem with the display of author's information #170

letailli opened this issue Jun 24, 2021 · 2 comments

Comments

@letailli
Copy link

letailli commented Jun 24, 2021

Hello

We are using the master branch of bootstrap3 with OJS version : 3.2.1-4

We have a little bug in the display of affiliation :

image

And the ORCID ID is not displayed at all.

However affiliation and ORCID ID are correctly set for this user
image

Additional question: is it possible to display the Bio statement ?

I guess the corresponding code is in templates/frontend/objects/article_details.tpl

Could you help me to find what's going wrong there ?

Thanks!

				{if $publication->getData('authors')}
					<div class="authors">
						{foreach from=$publication->getData('authors') item=author}
							<div class="author">
								<strong>{$author->getFullName()|escape}</strong>
								{if $author->getLocalizedAffiliation()}
									<div class="article-author-affilitation">
										{$author->getLocalizedAffiliation()|escape}
									</div>
								{/if}
								{if $author->getOrcid()}
									<div class="orcid">
										{$orcidIcon}
										<a href="{$author->getOrcid()|escape}" target="_blank">
											{$author->getOrcid()|escape}
										</a>
									</div>
								{/if}

@NateWr
Copy link
Contributor

NateWr commented Jun 28, 2021

Hi @letailli, you shouldn't use the master branch in production. Each release of the theme is compatible with only some versions of OJS. It looks like you want Boostrap3 3.2.0.2: https://github.com/pkp/plugin-gallery/blob/main/plugins.xml#L2386-L2401

That can be downloaded here: https://github.com/NateWr/bootstrap3/releases/tag/v3_2_0-2. Can you try to reproduce the issue with that version?

@letailli
Copy link
Author

letailli commented Jul 12, 2021

Thanks @NateWr.
I switch from branch to tag and I also realize that those information come from the author's information within the publication (not the corresponding user general settings). I don't know which one of those 2 changes make it works. But it works now. !
Thank

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants