On a page I put some calls of getResources, one of them looks like this:
[[!getResources? &tpl=`articleTpl` &parents=`13` &includeContent=`1` &includeTVs=`1`]]
where the chunk articleTpl looks like
...
<a href="[[~[[+id]]]]" title="[[+pagetitle]]">[[+longtitle]]</a>
...
It shows me the resource exactly how I'd like to see it and the link is '
http://artinox-td.ru/modx/index.php?id=14' (id numbers are different).
On the same page there is another call of getResources which looks like
[[!getResources:default=`No results found`? &parents=`13` &includeContent=`1` &includeTVs=`1`
&tpl=`@INLINE <BR><a href="[[~[[+id]]]]" title="[[+pagetitle]]">[[+pagetitle]] ([[+id]])</a>`]]
It shows me simply a list of links and every link refers to the same place -- '
http://artinox-td.ru/modx/'. I cannot understand why there is no 'index.php?id=...' in these links
[ed. note: Bruno17 last edited this post 11 years, 10 months ago.]