[Tutorial] Custom Layout TOC : Menampilkan AuthorId Scopus

All about OJS 2
Post Reply
ajienoorseto
Posts: 449
Joined: 30 Dec 2016, 21:19
Contact:

[Tutorial] Custom Layout TOC : Menampilkan AuthorId Scopus

Post by ajienoorseto »

Hai Guuuyyssss, apa kabar

Sekarang saya mau nyoba nampilin author id scopus di TOC (table of contents)
tampilannya seperti ini :
Screen Shot 2017-09-06 at 9.41.49 PM.png
Pertanyaannya adalah :
emangnya OJS nyedia-in field isian scopus?
Jawabannya adalah :
enggak hehehe
Solusi yg paling gampang :
Ubah / ganti translate field yg sudah ada
Yang harus di lakukan
1.download-open-save lib/pkp/locale/en_US/user.xml (karena saya pakai bahasa english jurnalnya)
2.Ubah

Code: Select all

<message key="user.url">URL</message>
Menjadi

Code: Select all

<message key="user.url">Scopus</message>
Nanti ketika ada author baru yg mau daftar, tampilan registrasinya :
Screen Shot 2017-09-07 at 9.45.35 AM.png
Setelah itu kita istirahat sebentar... hosh hosh hosh..lanjuuuuut

1. baca tutorial
2. modif kode

Code: Select all

<div class="tocAuthors">
	{if (!$section.hideAuthor && $article->getHideAuthor() == $smarty.const.AUTHOR_TOC_DEFAULT) || $article->getHideAuthor() == 	$smarty.const.AUTHOR_TOC_SHOW}
			
		{foreach from=$article->getAuthors() item=author name=authorList}
			{assign var="url" value=$author->getData('url')}
			{assign var="orcid" value=$author->getData('orcid')}
           		{$author->getFullName()|escape}{if !$smarty.foreach.authorList.last}{/if}
          			{if $url||$orcid}
          				- <a target="_blank" href="{$url|escape}">[ SCOPUS ]</a><a target="_blank" href="{$orcid|escape}"> [ ORCID ]</a><br>
           			{else}
            				<br>
           			{/if}
		{/foreach}
	{else}
		&nbsp;
	{/if}
</div>
3. done , Note : teks scopus atau orcid bisa diganti dengan logo, tinggal masupin deh link image nya hehehe
Atom Indonesia
http://aij.batan.go.id

User avatar
ikhwan
Posts: 58
Joined: 23 Dec 2016, 15:54

Re: [Tutorial] Custom Layout TOC : Menampilkan AuthorId Scopus

Post by ikhwan »

Kereeennn ... bagusnya jangan Scopus ID (saja) di fieldnya. Sebab kan tidak semua penulis punya Scopus ID. Tapi diberikan garis miring, dan ditambahin dengan Google Scholar Profile link. Jadinya nanti si penulis yang masih miskin Scopus ID, bisa masukin profilenya.
Ikhwan Arief

Universitas Andalas : http://www.unand.ac.id
Directory of Open Access Journals : https://doaj.org/

:ugeek: Walk in their shoes and you'll understand.

ajienoorseto
Posts: 449
Joined: 30 Dec 2016, 21:19
Contact:

Re: [Tutorial] Custom Layout TOC : Menampilkan AuthorId Scopus

Post by ajienoorseto »

ikhwan wrote:Kereeennn ... bagusnya jangan Scopus ID (saja) di fieldnya. Sebab kan tidak semua penulis punya Scopus ID. Tapi diberikan garis miring, dan ditambahin dengan Google Scholar Profile link. Jadinya nanti si penulis yang masih miskin Scopus ID, bisa masukin profilenya.
nah bisa tu, mungkin pake field fax atau field yg jarang dipake
Atom Indonesia
http://aij.batan.go.id

Post Reply