This is an auto-generated support/comment thread for
SSR.
Use this forum to post any comments about this addition or any questions you have regarding its use.
Brief Description:
Execute snippet from ditto chunk and store the value in modx placeholders
Reduce the amount of db queries for similar snippet call
here are some test results
With 198 documents
Ditto call
[!ditto? &parents=`0` &tpl=`photolist` &summarize=`198` &depth=`4` &paginate=`1` &limit=`200` &filter=`isfolder,1,2` !]
with
[[GetField? &docid=`[+parent+]` &field=`pagetitle` ]]
MySQL: 1.6104 s, 413 request(s)
with
[[SSR? &ph_ID=`[+parent+]` &phName=`ditto_parent_name` &snippetName=`GetField` &snippetParams=`docid:[+parent+]|field:pagetitle` ]]
MySQL: 1.6374 s, 216 request(s)