Jumat, 15 April 2016

Problem with single name author in OJS

In based of Open Jurnal System a.k.a OJS used Smarty Template Engine, for anyone spacially from indonesia like me, if you have problem with author with single name, we must set with this bussines process :

"if smarty have special character '-', it will be replace with ""

whice script we will be change ?

For simple sample you can set on article.tpl and issue.tpl
simple just add script on bold style text

1. script article.tpl

[directory-ojs]\templates\article\article.tpl:
   45      {call_hook name="Templates::Article::Article::ArticleCoverImage"}
   46      <div id="articleTitle"><h3>{$article->getLocalizedTitle()|strip_unsafe_html}</h3></div>
   47:     <div id="authorString"><em>{//$article->getAuthorString()|escape}{$article->getAuthorString()|escape|replace:"-":""}</em></div>
   48      <br />
   49      {if $article->getLocalizedAbstract()}




2. script issue.tpl
[directory-ojs]\templates\issue\issue.tpl:
   59              {if (!$section.hideAuthor && $article->getHideAuthor() == $smarty.const.AUTHOR_TOC_DEFAULT) || $article->getHideAuthor() == $smarty.const.AUTHOR_TOC_SHOW}
   60                  {foreach from=$article->getAuthors() item=author name=authorList}
   61:                     {$author->getFullName()|escape|replace:"-":""}{if !$smarty.foreach.authorList.last},{/if}
   62                  {/foreach}
   63              {else}

if you want sample you can visit our journal site : jurnal.polines.ac.id

Problem with single name author in OJS Rating: 4.5 Diposkan Oleh: loliktry

1 komentar:

  1. youtube : youtube : youtube : videoodl.cc
    youtube : youtube.com : youtube.com : youtube.com : youtube.com : youtube.com : youtube.com : youtube.com : youtube.com : youtube.com : youtube.com : youtube.com : youtube.com : youtube.com : youtube mp4 youtube.

    BalasHapus

Entri yang Diunggulkan

How To Use Git on oh-my-zsh version

Popular Posts