Any idea how to output the very previous resource from the current resource within the same parent? Thanks
something like
&resources=`[[*id]] - 1`
but functional...
-
☆ A M B ☆
- 24,524 Posts
the previous id is not necessaryli what you are looking for.
you might also try
&parents=`[[*id]]`
&where=`{"createdon:<=":"[[*createdon]]","id:<":"[[*id]]"}`
&sortby=`createdon`
&sortdir=`DESC`
&limit=`1`
or with publishedon or menuindex