We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28439
    • 222 Posts
    I am writing a module that has to display several rows of data. Each row has its own submit button for changing or deleting the current row.

    Now I’m looking for a object variable that tells me the id of the page and the id of the module. At this moment I use the static id, because I know them.

    Here is an example of the call, that I’m using:
    side-name/manager/index.php?id=9&a=112
      Gone away and found a better place to stay
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      I always put that in the module’s configuration as a variable as soon as it is created.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 28439
        • 222 Posts
        Hello Susan,

        that’s what I’ve done. But I thought there might be a way to access this by the api.
          Gone away and found a better place to stay