Wish that I can use adsense tag and have text wrapped around it. Perhaps a [adsense:1:2:1:wrap] can be used as the tag when we try to blend in the adsense within an article.

Comments

druvision’s picture

It's easy, even now.
Simply wrap the output of the adsense_display function inside a DIV with float:

$output .= '<div style="float:right;">' . adsense_display ( "468x60", 1, 3) . '</div>';

Of course, it will be easier if this is done automatically.
Hence I leave this issue open.

Enjoy,

Amnon
-
Personal: Bring Dolphin's Simple Joy to your Work - Job - Career
Professional: Small business web hosting strategies

druvision’s picture

Of course there needs to be a feature request but It's easy, even now.

Simple wrap the result of adsense_display inside a DIV. Here is a sample code.

sample php code (I changed the braces into square brackets, so that the code would show correctly in this site):

echo '[div style=float:right]' . adsense_display ( 468x60, 1, 3) . '[/div]';

Amnon

povinho’s picture

Hi!

And you know where in the module code to put the

?

I've tried several places with no sucess!

Regards,

darren oh’s picture

Status: Active » Closed (fixed)

Out of date.