We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6316
    • 92 Posts
    Hello,
    I have a section of my site with planned meetings (matches). Each planned meeting is a document, which has a TV — "tvplannedevent" (format: date; widget: unixtime). I want Ditto to display the titles of upcoming meetings (like "headlines") on the home page of my site, accordingly to their dates (so, sorting by tvplannedevent). There is only one problem: although the TVs are set, Ditto doesn’t sort them.

    Here is how I call Ditto:
    [!Ditto? &tpl=`ditto-planned-matches` &startID=`10`  &sortDir=`ASC` &sortBy=`tvplannedevent` &summarize=`3` &paginate=`1` &dateFormat=`%d.%m.%y`!]

    I’ve upgraded to Ditto 1.1 b2 because I saw that it helped people who had the same problem. But in my case it didn’t work.

    tvplannedevent is set to be accessible for all the templates and all the document groups.

    When I added debug=`1` to the snippet call, in the arrays I haven’t found any mention of "tvplannedevent". Maybe that is the key?

    Any thoughts on the problem?
    Thanks in advance.