Recipe for not showing module conatining ads on entry form pages

Recipe for not showing module conatining ads on entry form pages

Hi all,

first off: J1.5.23 - MetaMod 2.8 - Site still offline

I was wondering if you could help me with a recipe for NOT showing my core ad banner module on pages with no content i.e. Submission pages like article submission, review submission, contact us submission.

I'm particularly interested in getting one for Mosets tree 2.1.8 so when a user wants to submit a review of a listing, they don't see the ad banners.

(I need this because I've been told that ads aren't allowed on these types of pages.)

Re: Recipe for not showing module conatining ads on entry form pages

Hi igolfniray,

Yes, you'll certainly be able to do this. The main thing is to be able to identify all the places where you don't want the banners to appear... or alternatively, to identify the places where you *do* what them to appear.

So, which is going to be easier? Choosing the pages where you do want it to appear, or those where it should not?

Perhaps start by making a list of the types of pages, and work from there. Then can you post the list on this thread?

It would also be useful if you create a MetaMod, publish it, set it to "all" pages, and switch on Advanced Debug mode in MetaMod. Then, visit each of the pages on your list, and take a copy of the MetaMod debug output to paste into here.

This will give a great head-start for creating the PHP rules that will either prevent the banners from appearing on these pages, or will include the banners *only* on these pages.

Cheers,
Stephen

Stephen BrandonMetaMod / Chameleon developerIf you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory: Chameleon | MetaMod

Re: Recipe for not showing module conatining ads on entry form pages

Hi Stephen,

I know it's taken me a long time to get back to you about this. But now that I've cracked it, I thought it might be interesting for you and others (maybe newbies like myself who need a hand) to see how I managed to get rid of my ad banners on Mosets tree entry forms etc.