i took off the little adsense banner i had on my site that was located in the newsfield.tpl of my site and got a smarty error for my entire site..can someone suggest why i delete JUST the adsense code i would get this error and my site would not work right?
perhaps double check to see if you accidentally removed an additional bracket or left something behind.....
thanks for the answer..i did look and only saw the code removed that was supposed to...maybe i will try again..(3rd times a charm?)
Would be better if you can show that part of the code to see what happened there. Or possibly a link to newsfield.tpl code. Removing AdSense shouldn't be a problem.
<br /> {literal} <script type="text/javascript"><!-- google_ad_client = "pub-lalalalalaal"; google_ad_width = 468; google_ad_height = 60; google_ad_format = "468x60_as"; google_ad_type = "text_image"; //2007-01-28: webdirec google_ad_channel = "1627056341"; google_color_border = "38B63C"; google_color_bg = "FFFFFF"; google_color_link = "2BA94F"; google_color_text = "000000"; google_color_url = "008000"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> {/literal} </center> <br /> should be real simple?
simple suggestion, try removing it line by line until u get the error.... of course not the <script> or </script> lines