Ηι guys, I am amazed with the phantastic phoca gallery! I m ready to make a donation, though, the income from my website is not adequate, despite the many visitors.
The click through rate, on my adsense banners is disappointingly low, as visitors focus on photoes.. instead of ads.
I was wondering if there is a way, to place a banner (or two), inside the gallery, between the rows of the thumbnails. This would generate better click through rates, and defiantelly a generous donation!
Its a good idea, but unfortunately I dont have a clue on how to implement it..
Could you please give me a hand?
Thanks in advance!
Adsense inside the gallery
- Jan
- Phoca Hero

- Posts: 49279
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Adsense inside the gallery
Hi, there is no such option ... and I have no idea how to paste ads inside the gallery... images are displayed in floatboxes so you don't know how many images will be on the row and how many rows there will be (every user has other monitor resolution)... so where to place e.g. ads ... no idea

If you find Phoca extensions useful, please support the project
-
padelis
- Phoca Newbie

- Posts: 5
- Joined: 14 Oct 2008, 18:10
Re: Adsense inside the gallery
Hi, thanks for your reply, you r right, the previous post is very generic.
How about posting the adsense code between the second and the first row (lines) of thumbnails, of every category and album? Would this be feasible?
Thanks
How about posting the adsense code between the second and the first row (lines) of thumbnails, of every category and album? Would this be feasible?
Thanks
- Jan
- Phoca Hero

- Posts: 49279
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Adsense inside the gallery
but what is the second row
second row can be on my monitor after 8 images, on my notebook after 4 images, on some templates after 3 images, on some after 5 images ???
second row can be on my monitor after 8 images, on my notebook after 4 images, on some templates after 3 images, on some after 5 images ???
If you find Phoca extensions useful, please support the project
-
padelis
- Phoca Newbie

- Posts: 5
- Joined: 14 Oct 2008, 18:10
Re: Adsense inside the gallery
well, you are right,
Lets say, we want the code to appear after 5 images, in any case... Would be that possible?
Thank you veryt much in advance!
Lets say, we want the code to appear after 5 images, in any case... Would be that possible?
Thank you veryt much in advance!
- Jan
- Phoca Hero

- Posts: 49279
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Adsense inside the gallery
then you need to find the foreach which displays images and e.g. if the image 5 is displayed the you will display the ads...
components/com_phocagallery/views/category/view.html.php
components/com_phocagallery/views/category/tmpl/default.php
components/com_phocagallery/models/category.php
Jan
components/com_phocagallery/views/category/view.html.php
components/com_phocagallery/views/category/tmpl/default.php
components/com_phocagallery/models/category.php
Jan
If you find Phoca extensions useful, please support the project