A
A
Alex2016-01-28 15:38:11
MODX
Alex, 2016-01-28 15:38:11

How to display parent alias?

Hello, the essence of the question is
I display a list of resources on the main


where
SliderTpl
<div class="item"> <a title="" href="">
Hello, the essence of the question is I display a list of resources on the main[[!getResources? &tpl=`SliderTpl` &resources=`22,23,18` &sortdir=`ASC` &showHidden=`1
</a></div>

Resources nested, respectively, the link is formed only in the descendant. Tell me what you need to write before to get the link of all parents. Thank you

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
S
Sanes, 2016-01-28
@astrodeep

You are not doing it right. The placeholder should be
https://rtfm.modx.com/extras/revo/getresources/get...
As for the URL
This is done in the settings.
use_alias_path - Use nested URLs

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question