The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
EquinoxWorld How can I use a variable... 08-11-2011, 06:37 PM
kh99 There's two ways you could do... 08-11-2011, 06:48 PM
EquinoxWorld Well here we go... :)
... 08-11-2011, 09:56 PM
kh99 I think what you have should... 08-11-2011, 10:22 PM
EquinoxWorld Thanks for your help kh99,... 08-12-2011, 01:49 AM
kh99 Sorry, I can't see what might... 08-12-2011, 12:31 PM
EquinoxWorld OK I just ran a VERY easy... 08-12-2011, 05:07 PM
kh99 What hook locations are you... 08-12-2011, 05:29 PM
EquinoxWorld global_start.
... 08-12-2011, 05:38 PM
Badshah93 Try This:
$templater =... 08-12-2011, 06:02 PM
kh99 For both plugins? That could... 08-12-2011, 06:14 PM
EquinoxWorld Thanks for your reply Sherif,... 08-12-2011, 06:21 PM
Badshah93 I told you to use
Parse... 08-12-2011, 06:41 PM
EquinoxWorld Sorry about that. Tried that... 08-12-2011, 06:49 PM
Badshah93 Try This
Plugin Hook:... 08-12-2011, 06:54 PM
EquinoxWorld HURRRAAYYYYYY!!!! FOR... 08-12-2011, 07:04 PM
Badshah93 not really.. but when plugin... 08-12-2011, 07:09 PM
EquinoxWorld True. One last question. If I... 08-12-2011, 07:19 PM
|
#1
|
|||
|
|||
How can I use a variable inside a php file in a custom template?
Hello everyone, I have successfully used a function from a file into a custom template before using this plugin: (thanks to kh99 )
PHP Code:
I have my page cotw_sotw.php which uses the template COTW_SOTW . Inside this template I have {vb:raw cotw_sidemenu} which is another custom template (COTW_SIDEMENU). There is a variable in cotw_sotw.php file that I need to use(register) inside the sidemenu template (COTW_SIDEMENU). How would I go about doing so?? If even possible. Any information anyone might have will be appreciated. Thanks for your time everyone. Best Regards. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|