Quantcast
Channel: PKP Community Forum - Latest topics
Viewing all articles
Browse latest Browse all 27434

OJS 3.3.0.6 - Customizing Search Results - Can't Retrieve Journal Information

$
0
0

Hi Everyone,

We are on OJS 3.3.0.6 and we’d like to customize our search results in the article_summary.tpl template file. I’d like to add these few lines to add journal name and a link.

  {if $journal}
         <b><a href="{url|escape journal=$journal->getPath()}">{$journal->getLocalizedName())}</a></b>
  {/if}

Screen Shot 2021-07-13 at 5.26.02 PM

I double checked that we’re using the right syntax for retrieving $journal->getPath() and $journal->getLocalizedName(). The search results are still not returning the journal name in the lists. Weirdly I can retrieve article, author and pagination information but not journal. Any clues on what I’m doing wrong or what I should check? I’m not seeing any errors in the logs. Thank you for reading!

Take Care,
Rachel

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 27434

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>