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

XF 1.1 PHP in Templates?

Discussion in 'XenForo Questions and Support' started by Wysie, Aug 29, 2013.

  1. Wysie

    Wysie Member

    Is it at all possible to include PHP into the templates? Can't figure out a way. :(

  2. Brogan

    Brogan XenForo Moderator Staff Member

    Use xen:callback.
    Wysie likes this.
  3. Wysie

    Wysie Member

    Isn't that only in 1.2?
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Oops yes, I didn't notice the prefix.
  5. Wysie

    Wysie Member

    Any idea how I can do this in 1.1?
  6. Mike

    Mike XenForo Developer Staff Member

    You'd need to write a full add-on to hook into particular template events or something else.

Share This Page