• REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Conditional to hide code from a CAS category?

kontrabass

Member
AMS Premium
CAS Premium
RMS Premium
SC Premium
I'd like to hide some (3rd party ad) code from a specific CAS category. Can someone help me with the conditional?
 
Not ignoring you, I do not use ads, so don't really understand how those that use them, use them lol

The $category entity is exposed to both category pages and ad pages, so the category id is exposed via $category.category_id or $ad.category_id
 
Back
Top