I have a similar question. I’m sorry in advance for the supid one but this is my first site on ModX.
I am outputting the "See also" block and I’m trying to filter the current id not to print the current documents link. Despite I read the article and tried out both ways — although none of them work in my case. However if I put the current id by hands instead of the [*id*] part in the mentioned code, everything works out fine.
My initial piece of code:
[[Ditto? &startID=`58` &tpl=`smTakJeRow` &sortBy=`PubDate` &summarize=`15` &dateFormat=`%d.%m.%Y` &dateSource=`pub_date` &filter=`id,[*id*],2`]]
I tried to put id those ways:
1. [*id*]
2. [~[*id*]~]
3. Manually 59 - it works!
I need someone’s professional advice please how to solve this in a proper way. Thanks!
UPD: Solved. The thing was in the [[ at the beggining and ]] at the end. Changed to [! .... !] and everything started working.