How to access from the template article_summary.tpl
to the functions of $issue class? Since template templates/frontend/objects/article_summary.tpl
is also used for displaying the tables of contents of a numbers I created a new template templates/frontend/objects/article_search_summary.tpl
and replaced in templates/frontend/pages/search.tpl
:
{include file="frontend/objects/article_summary.tpl" article=$result.publishedArticle journal=$result.journal showDatePublished=true hideGalleys=true}
with
{include file="frontend/objects/article_search_summary.tpl" article=$result.publishedArticle journal=$result.journal showDatePublished=true hideGalleys=true}
Now I want to access the year, the volume and the article publication number in the article_search_summary.tpl
, so that this info will be displayed instead of the page numbers.
In the templates/frontend/objects/article_details.tpl
template, I saw how to access this information through the function {$issue->getIssueIdentification()}
. However, access to this function is disabled from article_summary.tpl
.