![]() |
Can php be executed within a template?
I have a function which I need in forumdisplay.php but I need to execute that function from within the threadbit template.
The function will detect the first image in the post and i'm then diaplaying it as a thumbnail so in threadbit I need to put something like: HTML Code:
<img src="<?php echo imagethumb($thread[pagetext])" /> I would really appreciate anyone pointing me in the right direction. Thanks. |
You will need to use a plugin to execute the php and then pass the results off to the template for output.
|
All times are GMT. The time now is 04:49 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:
|