Announcement

Collapse
No announcement yet.

Why will it not allow me to render PHP in template files?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • krismarvin88
    replied
    okay. then what's going to be the best way to have it change the header banner depending on what page you're on? I figured I could do it using switch statements in PHP but that won't work.

    Leave a comment:


  • Mark.B
    replied
    You can't use php in templates, the system isn't designed that way.

    Leave a comment:


  • Why will it not allow me to render PHP in template files?

    I am using vBulletin 5.0.5 and when trying to render PHP in template files the system is automatically commenting it out. Is there a reason why it is doing this, or a solution to this issue?
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X