We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18373 ☆ A M B ☆
    • 3,141 Posts
    Looks a lot the same, but seems to have subtle differences.
      Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

      Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
      • 38441
      • 140 Posts
      Thanks for all your comments, there's been much information provided for me to refer to. So in the case of a line of php such as google verification code, this would still be Ok to place inside the head of the template itself? and if there where a number of templates, i could then insert this line of code using a snippet..
        • 3749
        • 24,544 Posts
        Quote from: jaykaye at Apr 14, 2012, 11:11 AM
        Thanks for all your comments, there's been much information provided for me to refer to. So in the case of a line of php such as google verification code, this would still be Ok to place inside the head of the template itself?

        Yes. MODX ignores and passes through pretty much everything on the page except MODX tags (which it replaces) and stuff inside PHP tags (which it removes).

        and if there where a number of templates, i could then insert this line of code using a snippet..

        Yes, or put it in a chunk.


        ------------------------------------------------------------------------------------------
        PLEASE, PLEASE specify the version of MODX you are using.
        MODX info for everyone: http://bobsguides.com/modx.html
          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