We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15871
    • 105 Posts
    I am trying to use the same Ditto call in a template and set the &tpl param dynamically by choosing a from a dropdown TV. I tried jst placing the TV in the call, but it didn’t work and I got the standard "&tpl doesn’t exist" error.
    [[Ditto? &tpl=`[*whichTpl*]`... ]]
    [\code]
    
    Tnx,
    Chuck
      • 7231
      • 4,205 Posts
      How do you have the TV setup? Either test the TV output directly in the document content or add &debug=`1` to your ditto call to open the debug console. I am guessing the the TV is not getting the value you are expecting.
        [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't know what it is.
        Do you, Mr. Jones? - [bob dylan]