Gallery 2.1 Google Ads Module
|
SamBeckett
![]()
Joined: 2002-09-29
Posts: 146 |
Posted: Sun, 2006-03-12 11:11
|
|
I can't seem to find any modules that let you insert google ads into Gallery. Where are they?! thank you |
|


Posts: 32509
there is none.
Posts: 146
Why not? I would think this would be highly requested.
Posts: 32509
we had someone working on this a year ago. then this person disappeared, was there again etc.
bottom line:
it's far from finished and doesn't work at all, and currently noone is working on it.
Posts: 146
guess I could try to make one then.
starting with 1 basic feature
1) on/off select in admin modules options
2) textarea box where you paste any html code (the google, or any other ad code) in admin modules options
3) this code will then be inserted below the main header on every album and image page, excluding pages like edit, add images and admin
--when I'm done where should I send this?
Posts: 6
I am really looking forward to your module!
Another possible option could be that you put the google ads on the naviation bar on the left. There you can already change the order of the displayed modules like random image or language settings.
Thanks
Richard
Posts: 146
Ok, this is what you can do:
edit your theme.tpl and after the header section, and the logo but befor the closing </div>
add <center> so your ads are in the center, then your google code.
This will put your google banner on every page. and it is a simple edit.
in my case it was /home/www.mydomain.com/http/gallery2/themes/matrix/templates/theme.tpl
Posts: 224
Theres a few themes out there that make inserting ads very easy what they do is include it in the theme.tpl as say "ads.tpl" then in ads.tpl you can just paste you google adsense code or whatever ad or code you want, or leave it empty and it wont shop up. Something like {g->theme include="ads.tpl"} , that way you ad code is organized better as a seperate file instead of being inserted right into the theme.tpl.
Posts: 9
Just did this - easy and gets those multiple album hits to pay (hopefully)
[url]www.conanstevens.com[/url]