We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12584
    • 208 Posts
    I was hoping to find a document specifc variable something like [*page_url*] to just output the url of the current page I am on using the friendly url option but I cant find one in the documentation.

    All i am doing is adding a facebook like button and require a link dynamically adding in the meta tags to the current page being viewed and can only come up with the above solution which would have to be altered depending on the friendly url settings.

    Is there another way I wonder.

    Thanks
      • 26931
      • 2,314 Posts
      try:
      [(site_url)][~[*id*]~]
        • 12584
        • 208 Posts
        Yep that worked perfect smiley

        I was looking at this for help http://svn.modxcms.com/docs/display/Evo1/Resource+Fields but [(site_url)] did not feature anyway thanks again