Prevent ad from showing on certain "Pages" pages

Posted February 21, 4:37 pm 2012

Ad still appear on the pages page when you look at video, photos, events etc. I have place the following exclusions in.

pages.index
pages.view

but the ad still appears on the pages mentioned above. It does not appear on the wall and info pages.

What additional exclusions do I need to add in?

Thanks

Last update on February 21, 4:38 pm 2012 by Stoosh.
Posted March 12, 5:07 pm 2012

I think i figured it out! I wanted to remove an Ad from the marketplace. SO here is what I did.

Extensions > Manage Themes
Using Default so clicked on arrow on left of it, chose Edit Templates

In the lefthand list I found Marketplace and expanded it. Under there I saw Controllers and found the pages I wanted to Disallow: purchase.html.php, view.htm.php, profile.html.php

Here is what I had to put into the Disallow Controller in the Ad campaign field.
marketplace.purchase,marketplace.view,marketplace.profile

Notice I did not add the .html.php to any of them and added the word marketplace in front of each page i didn't want shown on.

hope this helps!

Last update on March 12, 5:17 pm 2012 by hockmasm.
The following users say Thank You to for this useful post:
Posted March 12, 5:19 pm 2012

That's good that you found that. Smile The other member is looking to not show ads on specific parts of the Fan Pages but thanks for posting. Now to go look at what the other member needs and see if I can figure it out. I think it will be something like Pages.video but I need to go look.

phpFox tutorials and support

Knowledgebase Articles , Forum Rules
Posted March 12, 5:27 pm 2012

The only way I found to keep it from the pages video is to put the controller of video.index and video.view but that also keeps it from the video pages

phpFox tutorials and support

Knowledgebase Articles , Forum Rules
All times are GMT. The time now is 8:25 pm.