We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10076
    • 1,024 Posts
    I am trying to give user ability to turn on social links in his footer with TV s and chunks, nothings happening, i dont get it.

    tv called tumbler, radio options:
    on==on||off==off
    , acess to the correct template

    in a chunk i have this:
    [[If? &subject=`[[*tumbler]]` &operator=`EQ` &operand=`on` &then=`[[$tumbler]]`]]


    and a chunk called tumbler:

    <a class="addthis_button_tumblr_follow" addthis:userid="buzzmij"></a>


    should work no?
      • 10208 ☆ A M B ☆
      • 1,780 Posts
      Try &operand=`yes`

      oops, I see your options. on should work then.

      I got an if not iffing coupled with switch not switching in one template myself...
        Frogabog- MODX Websites in Portland Oregon
        "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
        Having server issues? These guys have MODX Hosting perfected - SkyToaster
        • 3749
        • 24,544 Posts
        You want to call the snippet uncached. Otherwise you'll be seeing the cached version from previous visits to the page (or any page that uses the snippet):

        [[!If . . .
          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
          • 10076
          • 1,024 Posts
          if was installed, uninstalled and reinstalled and it works, great.....