PDA


View Full Version : Variable in navbar?!?


koskalla
01-27-2006, 10:39 AM
Hi!

Another navbar problem:
I've inserted the following code to the navbar-template to get another dropdown-menu:

<div class="vbmenu_popup" id="omfokuz_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">Om Fokuz</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="view.php?pg=fokuz">Om Fokuz</a></td>
</tr>
<tr>
<td class="thead">$vbphrase[visaifokuzmeny_rubrik]</td>
</tr>

$strVisaifokuzmeny

</table>
</div>

The variable $strVisaifokuzmeny contains additional rows to the table. The rows are fetched dynamically in global.php.

The problem is that these rows are shown on every other page, exept my startpage (index.php)! Why are they not shown there!?!?!?

Has anyone got a clue how to solve this?
Regards ~ Koskalla

Brian
01-30-2006, 05:18 PM
Admin CP => vBa CMPS => Default Settings => Portal Output Global Variables

Try adding 'strVisaifokuzmeny' to that setting.

koskalla
01-31-2006, 09:02 AM
Thanx Brian, it works! You make me so happy =)