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

    I have a list of two elements and with ditto command such
    [[Ditto?parents=`[*id*]` &depth=`1` &showPublishedOnly=`1` &hideFolders=`1` &display=`1` &tpl=`Produit` &sort_by=`pub_date`]] {{Produit}}

    this return

    <a href="index.php?id=12">Cyclisme</a>


    <a href="index.php?id=11">Athlétisme</a>


    <a href="index.php?id="></a>


    Why Ditto return me this line with empties fields ? -> <a href="index.php?id=!!!!!!!!!!!!!!">!!!!!!!!!!!!!!</a>


    Thank You !

    Mitch
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      I seem to recall something about a document in the demo installation that normally doesn’t show that was causing this, but I don’t remember exactly which one it was; something to do with login/logout pages, IIRC
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 10226
        • 412 Posts
        ...once again - turn on debugging with your problem ditto calls. It usually sheds a lot of light on the subject.

        But I can say I am not familiar with the exact issue, but debugging should help out.