Hi Guys!
Please help me how I can insert a google adsense on a particular spot I would like it to appear on my blog post. Here's the current look of my blog post:

I want to show google ad like this:

I want it to show on the left portion of my blog post with the words wrap around it. Please let me know how to do this. I also would like to show adsense right below the blog post like this:

Let me know how this is done. Thanks! Sam
|
Having it float to the left is the easy part; just put it in a container that is floated to the left. However, you will need to tell TinyMCE not to strip out the javascript code as well as HTMLpurifier. Putting it in a block below the blog post is easy, just add a php block to the page (this can be done by inserting in the database or using a block tool. There are some free mods on the market that can insert PHP blocks). Then once you have the php block, insert your javascript code. Geeks, making the world a better place |
If you want the adsense at the bottom of the blog post text in the same block as the blog post, then that would just be a division that is not floated left. Again, you need to tell TinyMCE and HTMLpurifier to not strip out the javascript. Geeks, making the world a better place |
Wait, are you wanting this to occur for every member that writes a blog post? In that case you will also need to modify the blog module to insert the adsense code. Easier will be to just have a php block with your adsense code, one at the top, one at the bottom; above and below the blog post view block. Geeks, making the world a better place |
If you want the adsense at the bottom of the blog post text in the same block as the blog post, then that would just be a division that is not floated left. Again, you need to tell TinyMCE and HTMLpurifier to not strip out the javascript.
Hi Geeky Girl,
Yes I want it to appear on all blog posts. I still dont get the part "you need to tell TinyMCE and HTMLpurifier no stipout the javascript". I wish there's an easier way to implement this on Dolphin :-(
Regards, Sam
|