Is there a way to remove the summary (introtext) in a getResources call? Sometimes I just want to output the title and the idea is to use the same and already existing generic chunk instead of creating different versions. Thanks
I’m quite sure this is not possible.
Maybe you could use an
@INLINE template, if you want to avoid creating an additional chunk.
[[getResources? &parents=`[[*id]]` &tpl=`@INLINE <div>[[+pagetitle]]</div>` &limit=`0` ]]
Alternatively you could try something like this:
[[getResources? &parents=`[[*id]]` &tpl=`myTemplate` &limit=`0` &dontshowintrotext=`1` ]]
All the scriptProperties should be available in the chunk. So you could just make up a new one like
&dontshowintrotext and use it in the chunk.
There is another way, pdoResources, it has
&select parameter where you can specify desired fields for request:
Thanks @halftrainedharry adding a ¶meter as an alternative is a good solution.