The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello
I have problem like in topic. I have vb 3.7.x I create new simple template (smth like footer - only simple html, without php vars). The name of tempalte is "serwery". Now I want include this template in to some other template: FORUMHOME, SHOWTHREAD... etc. I'm adding var $serwery, but it doesn't work ![]() How do this ? |
#2
|
||||
|
||||
![]()
You need to eval the template somewhere to be able to use it. You can use a plugin to do it but pick a hook that is evaled prior to the other template you are calling this new template in (I called the template "servery_template' in this example).
PHP Code:
PHP Code:
|
#3
|
|||
|
|||
![]()
thx for answer
![]() i will try it ![]() greetings |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|