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

how to put a php include in my header?


Well-known member
I tried that, but it won't excecute the php.

Here's what I'm trying to use a php include for:



XenForo moderator
Staff member
Note the constraints:
  • Like all of our other callbacks, it must happen to a method within a class. You can't just read out /etc/passwd directly.
  • The method that you're calling must start with a limited set of prefixes: get, is, has, render, view, return, print, show, display


Well-known member
non coder here...i saw that and just thought "whaaaaat?" I wasn't sure what to do at that point.

edit - found another thread on callbacks that let me know the steps needed.

thanks for pointing in the right direction, it worked perfectly.
Last edited: