We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 52711
    • 1 Posts
    Quote from: BobRay at Mar 27, 2012, 10:59 AM
    Yes, you can definitely pass parameters to an output modifier

    Hi BobRay, I know this is an old thread, but how do I pass the parameter value to an output modifier?

    I have been scouring the documentation and the internet and am at a loss.

    To put it in context, I am trying to make a targeted rollout, where the chunk would only show when the [[+id]] has a system setting to the feature called feature name.

    This is what I am trying, and the only issue is that the "id" comes in a [[+id]], instead of the value.

    [$new_feature_menu_option:of-feature-rollout=`feature_name,[[+id]]`]]

    How can I get it to pass the value instead of the tag?

    Thanks in advance
      • 3749
      • 24,544 Posts
      Sorry, I'm not following you. What's setting the +id placeholder?

      And I can't understand what this means:

      the chunk would only show when the [[+id]] has a system setting to the feature called feature name.

      IDs don't have System Settings, and MODX doesn't know what a "feature" is (me either).
        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