Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-15-2007, 05:01 PM
mark737 mark737 is offline
 
Join Date: Sep 2007
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default navbar variable

I can use a variable defined in global.php in the head and headinclude templates, but not in the navbar template. How to do this?

I already tried to add a plugin with global_start etc, but that didn't work either, this is what I did:
add new plugin in global_start, with text:
ob_start();
$myvar= 'this is a piece of text';
ob_end_clean();
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:09 PM.


Powered by vBulletin® Version 3.9.0
Copyright ©2000 - 2017, vBulletin Solutions Inc.