hi,
i use modx 0.9.6p2 and latest ditto.
i’m calling ditto: [!Ditto? &tpl=`news-prev`&display=`all` &hidePrivate=0 &debug=`1`!]
for now i have one news document, and when i make him private,
he isn’t show on list and no documents found.
i’m attaching debuging file.
thanks for any help.
------------------
now it works , maybe it was cache or something,
anyway the js solution in the code work fine also,
so that in private docs the content and link to doc will be changed...
anywa
by the way, it’s first time i use ditto,
and in the news listing i had to make some note on that will apear on private documents,
and other for non private docs,
i’m trying to implement that by using js + place holders,
i don’t know if that the perfect way, but i’ll try,
and if it help someone, the source is at the above attachment at the template tab.