Question Regarding Ads in CS 2.1 Beta 1 (ASP.net 2.0)

rated by 0 users
This post has 2 Replies | 2 Followers

Top 500 Contributor
Posts 99
Points 1,375
tommyweatherxz Posted: Sat, Jul 22 2006 12:17 PM

I've figured out how to enable ads in 2.1 Beta 1.  How would I go about either a) enabling all content parts to accept ads like google ads or ads from amazon.com or b) adjusting the site so I can have more ad boxes to edit (i.e I can add a new add box to the side or bottom of a page)

Thanks in advance for your help,

Sincerely,

Tom

Top 25 Contributor
Posts 2,245
Points 45,035
CS Developers

Similar to content parts, there is a control called "AdPart". You can drop this on any page you wish. Setting a unique "ContentName" parameter will cause it act like a new ad.

The reason for the AdPart control instead of just re-using a content part is the AdPart does not get HTMLScrubbed (ie, it will accept JavaScript).

-Scott

Top 500 Contributor
Posts 99
Points 1,375

Scott,

How would I go about adding that ad part to be displayed in all blog posts?  

 

Sincerely,

Tom 

  • Filed under:
  • | Post Points: 5
Page 1 of 1 (3 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com