We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17717
    • 433 Posts
    Hi all,

    I have the following ditto call using the following chunk:

    <ul class="news">
      <li><a href="[~[+id+]~]"><span>[+date+]</span> // [+title+]</a></li>
    </ul>


    and the following ditto call:

    <h4>Latest News</h4>
    
    [!Ditto? &sortBy=`pub_date` &startID=`8` &filter=`id,56,2` &depth=`3` &tpl=`newsChunk` &summarize=`5` &hideFolders=`1` &tagData=`myTags` &tagDelimiter=`,` &tags=`Internal News` &tagMode=`removeTags`!]
    


    Also I don’t seem to be able to manually arrange the articles, I added a date to the publish area in modx, I thought the pub_date would allow me to manually add the date and position as required.... doesn’t seem to work.

    Thanks
    Lee
      http://www.blend.uk.com | Web Design by Blend
      • 18397
      • 3,250 Posts
      Please see &dateFormat and &dateSource in the Ditto documentation.