PDA

View Full Version : Calling the navbar


manguish
07-20-2004, 07:58 PM
Before i start you may need the login as follows :

user : testuser
pass : testuser

I have the following page :

http://www.minimotoclub.co.uk/vb/MiniMotoMap.php

And a couple of others.

Within these i have :

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>

<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />

<!-- end no cache headers -->
<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
$headinclude
</head>
<body>

$header
$navbar

<p align=center><IMG WIDTH=460 HEIGHT=580 SRC="images/misc/ukmap1.gif" BORDER=0 ISMAP USEMAP="#ukmap1.gif">

And further on :

$footer

BUT as you may see, only the header & footer is displayed. NO navbar.

Any ideas? This is true for all custom pages i've made.

Over at vbulletin, they suggest i ask here as this is outside coding. They think i need to call the navbar from the database. BUT - by putting in $header and $footer i get both them but no $navbar - navbar?

Any ideas?

Andreas
07-20-2004, 08:06 PM
<a href="https://vborg.vbsupport.ru/showpost.php?p=534815&postcount=5" target="_blank">https://vborg.vbsupport.ru/showp...15&postcount=5</a>

manguish
07-21-2004, 06:07 PM
https://vborg.vbsupport.ru/showpost.php?p=534815&postcount=5
All this does is place :

= array('TEST'); = construct_navbits(); eval(' = "' . fetch_template('navbar') . '";');

at the top of the page.

Any clues?

Andreas
07-21-2004, 06:49 PM
Erm ... where did you put this code?

It must be in MiniMotoMap.php before the print_output line.

manguish
07-22-2004, 08:15 AM
Cheers bud ;)

I was putting it into the template :doh:

Many thanks ;)

Andreas
07-22-2004, 08:21 AM
I was putting it into the template :Doh:

LOL. That's crazy ^.^

manguish
07-22-2004, 08:28 AM
Just a crazy kinda guy...... :p

Cheers again.