VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: sajtfokus on June 11, 2013, 14:16:30 PM

Title: Adsense box instead of VM product box in category listing
Post by: sajtfokus on June 11, 2013, 14:16:30 PM
Hi,

I would like to insert adsense box (a module) in category view and to customize it to look like VM product in category listing.

You can see the basic idea in the picture below:

(http://img854.imageshack.us/img854/6866/adsensew.jpg)

Any ideas?
Title: Re: Adsense box instead of VM product box in category listing
Post by: Maxim Pishnyak on June 12, 2013, 12:01:28 PM
Funny idea. Looks like it needs using iframe stuff. Search in that god-bless forum threads about using iframes.

Btw is that legal to use Google ad in such place? You're masking ad as a product (confusing people). Probably you must to show very clearly that this block will be the GOOGLE AD definitely.

P.S. But probably it could be not iframe but still module - you're right. You could do cool things with modules on VM pages - check home web site of forum moderator with the name Pro.