![]() |
using PHP in templates
ok I have been out of the scene for a LONG time, I'm working on a new product, and im just having a huge brain fart.
Im trying to use php in a template I have created what I want to convert to a product in PHP, an example of my source is PHP Code:
Im brain farting so hard. Global Plugin: PHP Code:
HTML Code:
<div class="blah"> |
That would only work if the variables were evaluated to PHP code, but they are not.
In vBulletin, they would loop in a PHP script and then call the template that would contain: Code:
<div class="thing"> |
scratch this, my brain un farted lol. Im going about this wrong, i need to create a plugin with this PHP/HTML in it, and give that the variable, then use that variable in the template..... if that makes sence
|
All times are GMT. The time now is 03:42 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|