adsense module fix
spaldam
Joined: 2004-07-08
Posts: 23 |
Posted: Mon, 2014-07-14 00:17 |
I installed the adsense module (http://codex.galleryproject.org/Gallery3:Modules:adsense) on 3.0.9 release, code named Chartres. I had to tweak the source to get it working: modules/adsense/helpers/adsense_theme.php: From: return $google_code; return $google_code Then within The Gallery administration under "Settings -> Adsense" you insert your specific details: style="display:inline-block;width:###px;height:##px" It still has more blank space between the header text and the ad then I'd like, and I had to put a bunch of extra returns in to make sure it didn't cover up the menu items, but at least it works fairly well. - spaldam.com |
|