![]() |
Passing variable custom template - how? (Anyone here?)
vb3.0.3
In my .php file I have this: PHP Code:
PHP Code:
Hope this makes sense... I know this site is quiet but any help would be great. |
It seems what you did is right.
Just make sure the variable has a value, and then call it in the script using $mypagetitle |
What I want to do is include $mypagetitle in a *template* in AdminCP not another .php file. I can't work out how you can pass variables to use in the templates. That's my question. Thanks :)
|
That's odd, I just tried it again and now it works... ROFL!
In my template I have: Code:
<div align="center"> PHP Code:
|
Exactly, all the $variables that have a value which is set before the call are available, because of the eval() I think.
|
All times are GMT. The time now is 05:32 AM. |
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:
|