Answer the question
In order to leave comments, you need to log in
How to display a list of materials from the current category on a separate page?
Can you please tell me how to display a list of materials from one category on a separate page?
Conditions:
Each post has its own template with the "author" TV-field.
Each author's page also has its own template.
On the page of each article at the end there is a link that should display all the materials of the current author.
In the post template I use:
<a href="">Все статьи </a>
Answer the question
In order to leave comments, you need to log in
What do you output? - I'll describe.
&parents=`0` — (любые ресурсы)
&templates=`7` — (этим вы что делаете?)
&limit=`1` — (ограничиваете количиство ресурсов (выводите один))
&tpl=`link_current_author` — (указываете шаблон для вывода)
&includeTVs=`author` — (выбираете поле author)
On the page of each article at the end there is a link that should display all the materials of the current author.
I do not quite understand the essence of this question, perhaps the answer lies within it. It will take me some time to understand it.
<a href="0">Все статьи </a>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question