 | |  |
 |

RWD
User
Dec 9, 2005, 12:07 AM
Post #1 of 8
(2937 views)
Shortcut
|
Reading the article sent in your newsletter gave me an idea. I thought I would give the rectangle in the left of the articles a try, before I hade them at the bottom of the article. Anyway, I have it looking like this- http://www.motorsport-network.com/index/publish/article_338.shtml But I cannot get my article to go up beside it, I can get the article below, or above but not beside it. Any suggestions. I have the code in /index/templates/article/defult.html Any suggestions on how I get the article beside the advert. Thanks.
<a href="mailto:?subject=$art_name_ue$&body=$url_thispage_ue$">Email this article</a><br> <a href="$art_printer_url$">Printer friendly page</a><br> </span> </td> </tr> </table> <span class="article_text"> <left><script type="text/javascript"><!-- google_ad_client = "pub-*******************"; google_ad_width = 336; google_ad_height = 280; google_ad_format = "336x280_as"; google_ad_type = "text_image"; google_ad_channel =""; google_color_border = "FFFFFF"; google_color_bg = "FFFFFF"; google_color_link = "0000FF"; google_color_url = "3300FF"; google_color_text = "000000"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> $art_content$ </left> </span>
|
|
|  |
 |

RWD
User
Dec 9, 2005, 12:16 PM
Post #2 of 8
(2927 views)
Shortcut
|
I managed to get it the way I wanted
|
|
|  |
 |

Cliff
Staff

Dec 9, 2005, 3:36 PM
Post #3 of 8
(2921 views)
Shortcut
|
Hi RWD, Thanks for the update. What did you do to get this formatted the way that you wanted? I'm sure that the rest of the users in the community would love to hear what worked for you Regards, Cliff Stefanuk - Customer Service Manager support@interactivetools.com
|
|
|  |
 |

RWD
User
Dec 9, 2005, 3:41 PM
Post #4 of 8
(2919 views)
Shortcut
|
I cheated slightly and used the source code of a webpage that already had this running. My code now looks like-
<tr><td> <table border=0 cellspacing=0 cellpadding=0 valign="top" align="left"> <tr><td width="345" height="290"> <script type="text/javascript"><!-- google_ad_client = "pub-***************"; google_ad_width = 336; google_ad_height = 280; google_ad_format = "336x280_as"; google_ad_type = "text_image"; google_ad_channel =""; google_color_border = "FFFFFF"; google_color_bg = "FFFFFF"; google_color_link = "0000FF"; google_color_url = "3300FF"; google_color_text = "000000"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </tr> </td> </table> <span class="article_text"> Works a treat. I have already seen a increase in clicks today
|
|
|  |
 |

carminejg3
User
Dec 30, 2005, 10:15 AM
Post #5 of 8
(2797 views)
Shortcut
|
Hi I'm actually about to change over 600 articles to mimic a new adsense look. try to create some new article holders. I added a new art_field4 where i insert 4 paragraphs. Adding the rest of the article to the $art_content$. add this tag to include your image ***image1***right tag, to divide the article Example. http://news.carjunky.com/alternative_fuel_vehicles/case_for_electric_vehicles_123.shtml <table border=0 cellspacing=0 cellpadding=0 width=100%> <tr><td><span class="article_text"> <table align="left"> <tr><td align="left"> ADSENSE Code </td></tr></table> $art_field4$ <!-- Insert ***image1*** in the middle of $art_field4$ --> <table align="left"> <tr><td align="left"> ADSENSE Code </td></tr></table> $art_content$ </span></td></tr></table> It's a little more work, but should increase the rev to offset the extra minute to copy and past the article Webmaster http://news.carjunky.com
(This post was edited by carminejg3 on Dec 30, 2005, 10:19 AM)
|
|
|  |
 |

shalliday
User
Jan 27, 2006, 8:07 AM
Post #6 of 8
(2649 views)
Shortcut
|
Is there any way article manager can be modified/enhanced so that a google adsense ad (javascript) can be inserted directly into an article, on the article page, much like how we now place ***image1***. I have tried placing the javascript within the html code without sucess. Any ideassince this would be ideal?
|
|
|  |
 | |  |
 |

Cliff
Staff

Jan 27, 2006, 10:55 AM
Post #8 of 8
(2643 views)
Shortcut
|
Hi shalliday, Thanks for posting. By default, the ability to post Javascript into an article is turned off in Article Manager, so what is happening is the program is stripping the code from your articles. You can however turn that on We use an XSS filter that is designed to prevent untrusted writers from adding scripting code into your fields. To disable this feature you can open up /artman/exec/config.ini and change this line: enable_xss_filter = 1 To this: enable_xss_filter = 0 Save the file, and you should be able to use Javascript in the body of your articles. There is a section in our documentation that explains all the settings on the xssfilter.ini file, here is the link for your reference: http://www.interactivetools.com/docs/doc.cgi?/articlemanager/admin/doc_page61.html Let me know how that goes for you Regards, Cliff Stefanuk - Customer Service Manager support@interactivetools.com
|
|
|  |
 | |  |
|