TinyPortal
Development => Resources => Topic started by: Sharr76 on June 19, 2007, 09:22:06 PM
Hi all
when creating an article in Article Manager is it possible to add in some adsense code? if so how do you do it? ???
Yes, If you use the text editor, and use html in the article, you can then place the adsence code where you want the add to appear.
something like this here (http://www.lesmonds.co.uk/smf/index.php?page=33)
Hi Lesmond,
I have this code below in my article and nothing is showing? :-\ Have I done it right?
<html>
<body>
<script type="text/javascript"><!--
google_ad_client = "pub-6644828315604403";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "CCCCCC";
google_color_link = "000000";
google_color_text = "000000";
google_color_url = "000000";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</body>
</html>
<html> and <body> tags are not necessary. See if it works after removing those 4 tags.
No its just showing empty?
I have got it working, thanks all
how did you get it working?
Link to what it looks like: http://www.ndex.org/index.php?PHPSESSID=e708ca51db576b7c5996fdf5dbe09b79&page=22 (http://www.ndex.org/index.php?PHPSESSID=e708ca51db576b7c5996fdf5dbe09b79&page=22)
I used WhizzyWig editor and then clicked on the HTML button, I typed some information in first then added the code, I had the "Article is Active" highlighted and then I saved it straight away.
When you next look at the article is should be showing, I could not see mine using the Preview link.
:smiley6600: