I tried to put Google Analytics code to footer.tpl of my PhpLD directory but it gave me an error. I guess i need to put it inside some special tag.. What is that? Thanks.
I dont know if its the same like the adsense code but I think you need to add the code after {/strip} I am not sure though! Also i think you need to add the code beteween {literal} ... {/literal} Hope it helps!
I placed it just above </body> tag.. Like this: .... </table> <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript">_uacct = "UA-xxx";urchinTracker();</script> </body> ... Code (markup):
Thanks for the answers. It seems that the problem is a permission problems for temp directory I dont know why this happened but changing permission worked.. Thanks again.
if you put it in the footer (like i did <a href="http://directory.jesseismagic.com">here</a> then you must put it between 'P' tags
simply put it in the bottom of the main.tpl file, right before </body> That's what I have and it works perfectly.
<p> does not work to solve this specific problem, nor does putting it in main.tpl. Because PHPLD uses the smarty engine, you have to use {literal} put code here {/literal}. I tested it guys and it works.
I can not find a /body in the main.tpl. So where do I put it right before the {/strip} ??? If someone could break this down I would really appreciate it. Thank you.