We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4750
    • 28 Posts
    Does anyone know an easy way to do this in revolution. I have the evo code but it's not working for revolution.

    I need to add it into a snippet,

    Any help would be appriciated.

    Chris,
      • 33968
      • 863 Posts
      Hi Chris

      Could you provide a little more information about what you're trying to do?

      If the snippet just needs to retrieve the current page id you can do it like this:
      $id = $modx->resource->get('id');