We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28376
    • 222 Posts
    I was wondering how I pass variables when using furls. For instance let’s say you have
    two variables called Id and vision both have the values of one
    sometimes vision could have 2 how would I pass those values
      • 10449
      • 956 Posts
      well, I wouldn’t use Id, since that’s already reserved for MODx. Although PHP + MODx are case-sensitive, I’d rename that var, just to make sure.

      In a doc or template, just use the regular link syntax: [~123~] for modx document id 123

      plus your desired query string: ?myID=x&vision=foo
      -> [~123~]?myID=x&vision=foo

      Without FURLS, you’d just change the ? to &:
      [~123~]&myID=x&vision=foo