Hey folks,
I am not sure if with getresources you can do conditional arguments.
I have a page with a list of its children as links. When you click on a link it opens the child page. PERFECT
Now I want that child to have the same list as its parent so that people can jump to another item without going back to the parent.
Currently I have
[[!getResources? &parents=`[[*id]]` &tpl=`myRowTpl`]]
The logic would be something like
[[!getResources? &parents=`( if ( [[*id]] != 99 ) { [[*id]] = 99 } )` &tpl=`myRowTpl`]]
Is it possible to do something like that? My guess is there is an easier way...so tell me, tell me...
and thanks in advance
[ed. note: xxxmicrobexxx last edited this post 14 years, 4 months ago.]