Thanks for your reply and sorry that I seemed to be a little unspecific.
The instructions I was referring to can be found here:
http://www.apple.com/itunes/affiliates/ ... maker.html
I am not really experienced where to put such scripts. Is it correct to put it in the index.tpl?
I didn't use any smarty parser exclude escapes or anything like that. I just added the script-code to the index.tpl. The error occurs when I make my code look like this:
Code: Select all
....
<div class="clearingdiv"> </div>
</div>
<div id="footer"><div class="footerbg">
</font><p><font color="#d8e3e9"><a href="http://www.schimanke.com/index.php?/pages/impressum.html">Impressum</a> | <a href="http://www.schimanke.com/index.php?/pages/about.html">Über mich</a><br>© by <a href="http://www.schimanke.com">Florian Schimanke</a> | Template based on <a href="http://spartacus.s9y.org/index.php?mode=template_all" target="_blank">Andreas08</a></p></div>
</div>
{$raw_data}
{serendipity_hookPlugin hook="frontend_footer"}
{if $is_embedded != true}
<script type='text/javascript'>var _merchantSettings=_merchantSettings || [];_merchantSettings.push(['tdde', 'XXXX']);(function(){var autolink=document.createElement('script');autolink.type='text/javascript';autolink.async=true; autolink.src='http://autolinkmaker.itunes.apple.com/js/itunes_autolinkmaker.js';var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(autolink, s);})();</script>
</body>
</html>
{/if}
Obviously this is not the right way to do it. Can you help me with that?
The error occurs in line 132.
Thanks again!