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

    Here is my ditto call:

    <ul>[[Ditto?parents=`[b]48[/b]`&depth=`0`&dateSource=`editedon`&dateFormat=`%B %e, %Y at %r`&tpl=`latestcontent`&display=`6`&sortBy=`editedon`&filter=`hidemenu,0`]]</ul>


    I was wondering if it were possible to replace 48 with a placeholder or something so that the parent would automatically take the id of the current page it is on

    I tried [+id+], doesn’t work sad

    Best Regards,

    AR/Counterfire
      • 7231
      • 4,205 Posts
      Try [*id*]. Standard placeholders use [**] and inside TPL chunks use [++].

      I think it is just for illustration, but the tags will not work in a MODx call.
        [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

        Something is happening here, but you don&#39;t know what it is.
        Do you, Mr. Jones? - [bob dylan]