Store
Community Documentation

v3 Knowledgebase

How to Stop Ads from Appearing in Specific Sections of the Site

When you make an ad, you might want it to show everyplace on the site except for certain places. That is where the Disallow Controller comes into play:

addisallow.png

But, how do you figure out what to put there? One way is to go look at the controllers in:

AdminCP >> CMS >> Manage Blocks

in the left column is the list of controllers.

addisallowname.png

for example:

core.index-member is the member home page
core.index-visitor is the visitor home page

Copy that, let's say the visitor page controller and put it in your Disallow Controller for the ad like this:

addisallowadd.png

See there that I put a few, separated by a comma so that this ad will show on all pages of the site except those listed.

Be sure to save the ad when done by clicking the Submit button.