[Tutorial] Custom Layout Article : Menampilkan Affiliation

All about OJS 2
andrewdion04
Posts: 59
Joined: 13 Jan 2017, 08:52
Location: Yogyakarta

Re: [Tutorial] Custom Layout Article : Menampilkan Affiliation

Post by andrewdion04 »

ajienoorseto wrote:code diatas belum bisa, harus dibikin fungsi count dulu, ada berapa jumlah penulis, nah klo udah diposisi terakhir diganti titik...monggo mas dion gantian hehe
sudah tak perbaiki, kode yang benar di bawah ini:

Code: Select all

 {assign var=count value=0}
        {foreach from=$article->getAuthors() item=author name=authorList}
		{assign var=fullname value=$author->getFullName()}
		{assign var="contact" value=$author->getData('primaryContact')}
		{assign var=count value=$count+1}
		{if $fullname||$count}{$fullname|escape}<sup>({if $contact eq 1}{$count|escape}*{else}{$count|escape}{/if})</sup>{if not $smarty.foreach.authorList.last},{/if}{/if}
   {/foreach}
         <br>
{assign var=count value=0}
    {foreach from=$article->getAuthors() item=author name=authorList}
            {assign var=authorAffiliation value=$author->getLocalizedAffiliation()}
		{assign var=count value=$count+1}
		{if $authorAffiliation||$count}<br />({$count|escape})&nbsp{$authorAffiliation|escape}{/if}
   {/foreach}
         <br> (*) Corresponding Author
         <br>
hasil tampilan di bawah ini
Agrobacterium tumefaciens mediated transformation of Jatropha curcas L  with a polyhydroxyalkanoate gene  phaC    Novatiano   Indonesian Journal of Biotechnology.png


laluganda
Posts: 22
Joined: 31 Dec 2016, 19:45
Location: Mataram
Contact:

Re: [Tutorial] Custom Layout Article : Menampilkan Affiliation

Post by laluganda »

Mantap jiwa

lppiums
Posts: 1
Joined: 11 Sep 2017, 09:12

Re: [Tutorial] Custom Layout Article : Menampilkan Affiliation

Post by lppiums »

Kalau menampilkan affiliasi di daftar isi bagaimana pak andrewdion04?

Contoh tampilan seperti ini
https://obsesi.or.id/index.php/obsesi/issue/view/10

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

Re: [Tutorial] Custom Layout Article : Menampilkan Affiliation

Post by ajienoorseto »

lppiums wrote:Kalau menampilkan affiliasi di daftar isi bagaimana pak andrewdion04?

Contoh tampilan seperti ini
https://obsesi.or.id/index.php/obsesi/issue/view/10
bukan jawaban langsung sebenarnya (tapi harus dicoba kombinasi/perbandingan dari tutorial ini)

http://forum.jurnalindonesia.org/viewto ... 389&p=1353
http://forum.jurnalindonesia.org/viewto ... f=16&t=250

id afiliasi ->

Code: Select all

{assign var=authorAffiliation value=$author->getLocalizedAffiliation()}
silahkan dicoba, klo berhasil di share disini ya pak/bu
Atom Indonesia
http://aij.batan.go.id

Post Reply