![]() |
Sending showthread variables to Navbar
Hello. I was reading a lof of threads, but i cant find the help what i need.
What i need it's send some variables created in showthread, as example $thread['forumid'] to the template navbar to use it there. can someone give a small light to do this? Thank you. --------------- Added [DATE]1383172132[/DATE] at [TIME]1383172132[/TIME] --------------- I can print this variable on the template navbar: {vb:raw GLOBALS.thread.myvar} But how use that var as a template conditional? I'm not getting ressult if i try: <vb:if condition=$GLOBALS[thread.myvar]> What it's the correct sintaxis? --------------- Added [DATE]1383184990[/DATE] at [TIME]1383184990[/TIME] --------------- Ok, found the correct sintaxis and i hope that it help to others. It's <vb:if condition=$GLOBALS[thread][myvar]> That let me use any fields of the table thread as conditionals in the navbar template. |
All times are GMT. The time now is 10:05 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:
|