The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I'm just starting to try to work my own php into my templates, and I'm a bit confused about how you make variables available to templates using {vb raw} and {vb rawphrase}. Once I've made my variable in the php file, do I need to add it to a special class or something? And I read somewhere that you need to pre-register variables to use them in templates in 4.0 - does this apply to this situation?
Thanks a lot |
|
#2
|
||||
|
||||
|
Cellarius wrote a really good article that you may be interested in - [vB4] Rendering templates and registering variables - a short guide
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|