Sorry to be revisiting this topic. I implemented it using Susan’s basic suggestion of including
in my template and it worked great.
Then I realised that I was building child pages and that the @INHERIT option would work really well. But I can’t find anything that tells me how to implement it. The @INHERIT page on the documentation is blank, and the url which a lot of posts point to no longer exists.
I tried to go down the TV route, but can’t get it working. What I have done so far is create a TV called [*bodyID*] with an input type of ’text’ and the Default value set to
I then included the following code in my template where the <body> tag would usually be
This article made me think that this may be a good place to put it!:
http://modxcms.com/about/blog/rthrash/building-a-new-modxcms.com.html.
I also tried including the @INHERIT in the TV, but that didn’t work either.
Can anyone point me in the right direction...?