News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Need help plz.

Started by Dragon Gamer, September 16, 2004, 08:29:34 PM

Previous topic - Next topic

Dragon Gamer

I want to place an ad in my info center, but when i do i get a parse error.

Here's the code from the site

<!-- Start Adhearus.com Ad Code -->
<script type='text/javascript'>
<!--
var adhearus_webmaster_id = 17307;
var adhearus_site_id = 21348;
var adhearus_ad_size = '120x60';
var adhearus_text_ads = '1';
var adhearus_bgcolor = '#000000';
//-->
</script>
<script type='text/javascript'
       src='http://adhearus.com/display_ad.js'>
</script>
<!-- End Adhearus.com Ad Code -->


I also want to know if i can place it on the index or board template so it will get attention.

Thanx in AdVaNcE because then i can expand my smf forums.
Jason-Marc Labban
Graphic Maker...Sigs, Avatars, Banners and Buttons.



Neo Hacks

[Unknown]

Replace any ' with \'.

-[Unknown]

Killer Possum

Try this ;)


<!-- Start Adhearus.com Ad Code -->
<script type="text/javascript">
<!--
var adhearus_webmaster_id = 17307;
var adhearus_site_id = 21348;
var adhearus_ad_size = \'120x60\';
var adhearus_text_ads = \'1\';
var adhearus_bgcolor = \'#000000\';
//-->
</script>
<script type="text/javascript" src="http://adhearus.com/display_ad.js">
</script>
<!-- End Adhearus.com Ad Code -->

Dragon Gamer

ok i tried and i still got the Template Parse error.

Can i put the ad somewhere else on the index ???
Jason-Marc Labban
Graphic Maker...Sigs, Avatars, Banners and Buttons.



Neo Hacks

NEMINI

shouldn't the double quotes be escaped as well?
signatures are boring.

[Unknown]

Quote from: GMINI03 on September 16, 2004, 09:09:20 PM
shouldn't the double quotes be escaped as well?

Nope... they don't need to be, only the single quotes (which are arguably much less common.)

-[Unknown]

Advertisement: