Adsense problem
(This is in response to a pm from siliconcitizen, who doesn't have "Allow messages from other users" turned on here yet.)
Getting Adsense to work isn't really hard, but the original Adsense module is buggy, so there have been a few alternative methods, these instructions being one of them.
I haven't tried this method myself, but the error message indicates the path is incorrect. Comparing the problem path to the Smarty path, I think maybe it should be "../wiki/english/adsense/leaderboard_text.htm". Also try "/home/computer/public_html/wiki/english/adsense/leaderboard_text.htm" if that doesn't work.
I made my own "Adsense2" module due to problems with the default one, if you want to take a look at that. There's more information at http://zukakakina.com/GoogleAdSense2
.
-- Gary
>QUESTION ABOUT THESE INSTRUCTIONS:
>
>It cant be as hard it seems, can it?
>I followed by the instructions but I get the following error:
>
>Warning: Smarty error: unable to read resource: "../wiki/adsense/leaderboard_text.htm" in /home/computer/public_html/wiki/english/lib/smarty/libs/Smarty.class.php on line 1095
>
>I tried it a number of ways and maybe I just am not putting my directory in correctly and its just too simple i am messing it up. I just want to make it work. A bit frustrated. Some people write Tikiwiki is not so good because if difficulty. (I dont want to believe it) whats a simple directory place so i cant mess up the include, if thats where the problem is...?
>
>Thanks
>
>THERE IS A SIMPLE WAY TO PUT GOOGLE ADSENSE IN YOUR TIKIWIKI
>(cached) Edit Refresh Print Save Monitor this Page English
>Due TikiWiki usues the Smarty Template System you need to use the proper tags, but it's very simple. In my case I've created a folder inside my TikiWiki root called "adsense".
>Follow this simple steps:
>
>1). Make a file that contains your Google Adense code and save it as you like with the .htm extension. (in my case "VinculosDer?.htm")
>2). Go to Admin -> Modules in your TikiWiki and Create a new module with name and title yow desire but with the Data:
- page
>make sure your path match with your adsense file previously created.
>3). Assign the module. (Right Border in My case)
>
>THAT'S IT!!!
>You can see this working in my TikiWiki Site at: www.colombiatech.com/miembrosexternal
link
>Best Regards...
>Francisco Javier Palomino
>Webmaster ColombiaTech?