1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 Conditional Statement on Hook Content

Discussion in 'XenForo Questions and Support' started by Deddy, Dec 21, 2013.

  1. Deddy

    Deddy Member

    Hi All,

    I am wondering if there's a conditional statement for the hook element to say if the hook is being used. or there's content on the hook then the condition is true.

    I have an Ad add-on that uses hook. I wanted to do some additional cosmetic stuff like borders of the add-on
    when the add-on is activated.

    Cheers.
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    There is no condition which will do that.

    I'm not entirely clear on what it is you're doing.
    You should though be able to do it with a template modification, which should now be used in favour of hooks which have been deprecated.
     
  3. Deddy

    Deddy Member

    ok. thanks for the reply Brogan.
     

Share This Page