PHP in Templates

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Naxon
    Member
    • Jul 2006
    • 70
    • 3.8.x

    PHP in Templates

    How can I use PHP when I'm editing templates?

    Thank's,
    Daniel.
  • Marco van Herwaarden
    Senior Member
    • Nov 2004
    • 6999
    • 3.8.x

    #2
    You can not. Templates are only HTML.

    You could however create a plugin to execute your PHP code and asign the output to a variable which can be used in the template.
    Want to take your board beyond the standard vBulletin features?
    Visit the official Member to Member support site for vBulletin Modifications: www.vbulletin.org

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...