How to add php in header/footer?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mox-
    Member
    • Nov 2005
    • 50
    • 3.8.x

    How to add php in header/footer?

    Hi,
    I made a little script called "template.php" that get the template from a .html file and gives me two variables ($tmpl_header and $tmpl_footer)
    So I can use the same header/footer to determine the template of all my pages on a specific website (A kind of content manager)
    How can I add php code to the header/footer of vbulletin so it will load template.php to let me echo the variables ?

    Thanks
    --Benoit (mox)
    http://www.mox.ca/
    http://www.QuebecPhotos.ca/
  • mox-
    Member
    • Nov 2005
    • 50
    • 3.8.x

    #2
    Sorry for that

    I just found out about "hooks"
    --Benoit (mox)
    http://www.mox.ca/
    http://www.QuebecPhotos.ca/

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    😀
    😂
    🥰
    😘
    🤢
    😎
    😞
    😡
    👍
    👎