FYI, &orderBy is not a valid property for getResources.
FYI, &orderBy is not a valid property for getResources.
Quote from: OpenGeek at Feb 19, 2010, 08:58 AM
FYI, &orderBy is not a valid property for getResources.
This is what I’ve do
[[!getResources? &parents=`12` &sortBy=`id` &sortDir=`ASC` ]]
[[!getResources? &parents=`12` &tpl=`tplResourcesNews`]]
with "tplResourcesNews":
<h3><a href="[[~[[+id]]]]" title="[[+pagetitle]]">[[+pagetitle]]</a></h3>
<p>[[+introtext]]</p>
<p>[[+content:limit=`50`]]</p>
<a href="[[~[[+id]]]]" title="[[+pagetitle]]">Continue...</a>
I show an empty page!
Greeeeeeeeeat!!! It works!!!
do you think that it’s better to use ditto or getresources?
Thanks