Page 1 of 1

Searching for sample plugin

Posted: Fri Dec 08, 2006 5:57 pm
by Dawn
Hi,

I want to modifiy the Adsense Plugin to integrate it not only on the sidebar. The sidebar is a great thing, but when I display some standard infos (calendar, search, archiv, categories, feeds) the ads aren't on a very nice place so nobody clicks on it.

My idea is the following extension: I think it would be nice to integrate 1 block of adsense code between the main entry and the extened entry. So everybody who clicks on the entry see on the top the adsense blog. And it's very context relevant.

[Main entry]
[Adsense block]
[Extended entry]

I only want to display the adsense block in the detail view not on the listing of the mainpage.

So my question is: Is there another plugin which displays information only in the detail view and between main entry and extended entry which I can use as example?

What are you thinking about my idea? Would that be usefull?

Sorry for my bad english. I'm not native speeker. If you don't understand me, feel free to ask.

Greets and best regards,
Dawn

Re: Searching for sample plugin

Posted: Fri Dec 08, 2006 6:02 pm
by garvinhicking
Hi!

Have a look at the serendipity_event_includeentry plugin. It has a feature that can include "entry blocks". There you could put your adsense code!

Of course the other way with fixed positions is to edit your entries.tpl template file and insert the adsense code there easily?

Best regards,
Garvin

Posted: Fri Dec 08, 2006 6:09 pm
by Dawn
Oh thanks, I'll take a look at it. :) What do you think about the idea in general?

Greets,
Dawn