On March 26, 2019 we launched new MODX Forums. Please join us at the new MODX Community Forums.
Subscribe: RSS
  • Atm I'm busy with a YAMS site and don't want to use too many chunks.
    Noticed @CODE: doesn't work when trying to get the language flags:

    This works:
    [[YAMS? 
    &get=`repeat` 
    &repeattpl=`flagTpl` 
    &currenttpl=`flagTplcurrent`
    ]]
    


    But this below only shows the current lang:

    [[YAMS? 
    &get=`repeat` 
    &repeattpl=`@CODE:<a href="(yams_docr)">(yams_id)</a>` 
    &currenttpl=`@CODE:<span class="active">(yams_id)</span>`
    ]]
    


    I normally never used @CODE: so could be I can't use it for some reason.
      Evolution user, I like the back-end speed and simplicity smiley