We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 53124
    • 2 Posts
    Hi everyone !
    I am building a website using Foundation Framework, one of the many functions it has is the 'interchange images'.
    The problem is that to include a TV or a Chunk inside this Foundation function using [[ ]] is not working, for Foundation also uses [ ].
    I am trying
    <div data-interchange="[[[*TVname]], small], [[[*TVname]], medium]"></div>

    Is there a way to make this work?

    For your help, many thanks !
      • 3749
      • 24,544 Posts
      See if this works:

      <div data-interchange="[ [[*TVname]], small], [ [[*TVname]], medium]"></div>


      I think the [[[ is confusing the MODX parser. MODX will have replaced the TV tags by the time Foundation sees them, so nothing will be left but the Foundation brackets (hopefully Foundation won't care about the extra whitespace).
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting