Integrate Advertising

This is a forum to suggest new features for mojoPortal. 

This thread is closed to new posts. You must sign in to post in the forums.
6/7/2009 7:53:05 AM
Gravatar
Total Posts 30

Integrate Advertising

I'm setting up a new site and I think it is going fairly well, but advertising is particularly hard to add.

I'm looking to offer a lot of content for "free" but to gain a passive income from this through advertising.  I've managed to add untitled HTML Fragments to the end of most pages - but this seems more of a work around than a solution.  What's more, this doesn't work on blogs - not on reading blogs.  So I've managed to add in the java script into the view (between the actual content and section where users add their feedback), and at the side (under archives).  I would love to have advertising options built in, otherwise I'm going to have to repeat changes every time I do an upgrade of mojoPortal.

To see what I've done, see my web page (and look under T-SQL for the Blog).

www.prlsoftware.com

 

 

6/8/2009 8:06:32 AM
Gravatar
Total Posts 18439

Re: Integrate Advertising

I generally put google ads in the layout.master file of the skin so they appear on every page. With a narrow layout it can go at the bottom or top of every page, with a wider layout it can go on the sides. It depends on the design of the skin, I have it on the bottom here:

http://www.joeaudette.com/

Putting them in the skin is the easiest way, but its also possible to put ads on specific pages using an html content feature instance and then hiding the title.

Hope it helps,

Joe

6/8/2009 8:10:52 AM
Gravatar
Total Posts 18439

Re: Integrate Advertising

For graphic ads its also possible to use an adRotator control as we do on this site, it rotates randomly through the ads listed in an xml file. There is a blog post about it here: http://www.mojoportal.com/a-custom-adrotator-borrowing-code-from-the-mono-project.aspx

I have it in my layout.master file at the bottom like this:

<mp:AdRotator id="ads1" runat="server" AdvertisementFile="~/App_Data/mojoads.ads" />

where mojoads.ads is an xml file as described in the blog post.

Hope it helps,

Joe

6/10/2009 8:52:30 PM
Gravatar
Total Posts 30

Re: Integrate Advertising

Hi.

Some really good points... and I already do what you suggested for the untitled section (with an HTML fragment).  But my point is that it seems like this is a feature that mojoPortal should have.

What I mean is, on the "Site Setup" have the ability to set a global advert.  But also on each page have the ability to add in an "Advert" object.  The word "Advert" would show in the setup, and then the user could drop down their pre-loaded Java Script adverts.  At the moment leaving the Title blank makes it hard to find where an advert has been added and where one hasn't.

Thanks,
Philip

You must sign in to post in the forums. This thread is closed to new posts.