I followed Thomas' instructions and inserted my Google code as below (beginning <div id="p-advertisement...)
When I insert this into the xhtml_slimt.pt file and upload it to my server in place of the existing file, the AdWord code does not show. The site functions as usual. The code does not impair function.
Thomas' input was:
You might have to force a reload and/or delete the template file from PHPTal which has a filename like tpl_....php in you temporary directory.
I cannot find the file of which he speaks.
There is no "temporary" folder (by that name) that I could see, and I could not find any such file in the PHPTAL-NP-0.7.0 folder.
Any tips?
<a tal:attributes="href langlink/href" tal:content="structure langlink/text">English</a> </li> </ul> </div> </div> <div id="p-advertisement" class="portlet"> <h5>Advertisement</h5> <div class="pBody"> <script type="text/javascript"><!-- google_ad_client = "pub-2123041442112459"; google_ad_width = 120; google_ad_height = 600; google_ad_format = "120x600_as"; google_ad_channel ="7870537437"; google_ad_type = "text_image"; google_color_border = "CCCCCC"; google_color_bg = "FFFFFF"; google_color_link = "0000FF"; google_color_url = "008000"; google_color_text = "000000"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </div> </div> </div><!-- end of the left (by default at least) column --> <div class="visualClear"></div> <div id="footer">
Sterling
mediawiki-l@lists.wikimedia.org