I'm changing the skin of http://www.kerkliedwiki.nl from Vector to Chameleon. I've added Google AdSense to Vector by following these instructions: https://discussion.dreamhost.com/thread-29149-post-29176.html#pid29176. How can I add AdSense to Chameleon?
Topic on Skin talk:Chameleon
You need to use a modified layout file. see Skin:Chameleon#Layout of page elements
At the spot where you want your custom HTML code, add an HTML component to the layout file:
<component type="Html"><![CDATA[
YOUR HTML FRAGMENT HERE.
]]>
</component>
To show this only for the main namespaces use a modification:
<component type="Html">
<modification type="ShowOnlyFor" namespace="NS_MAIN"></modification>
<![CDATA[
YOUR HTML FRAGMENT HERE.
]]>
</component>
(I did not actually try this, so I may have missed something.)
Thanks, this seems to work.