Skip to content

Instantly share code, notes, and snippets.

@elliotttf
Created April 21, 2011 16:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elliotttf/934875 to your computer and use it in GitHub Desktop.
Save elliotttf/934875 to your computer and use it in GitHub Desktop.
164 === modified file 'drupal/sites/all/modules/ec_ads/ec_ads.module'
165 --- drupal/sites/all/modules/ec_ads/ec_ads.module 2011-04-12 18:08:43 +0000
166 +++ drupal/sites/all/modules/ec_ads/ec_ads.module 2011-04-21 14:56:47 +0000
167 @@ -394,6 +394,11 @@
168 $topic = menu_get_object('ec_topic');
169 $visible = is_object($topic);
170 break;
171 +
172 + case 'bottom_right_mpu_ad':
173 + // Hide bottom mpu on search page.
174 + $visible = (arg(0) != 'search');
175 + break;
176
177 // Do not show the bottom classified ads and the slider on the user pages.
178 case 'button_ad_1':
179
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment