PDA

View Full Version : left navagation bar


01-02-2001, 02:27 AM
how to put a left navagation bar in vB ?

01-02-2001, 02:54 AM
Just put a left aligned table in your header.

01-02-2001, 04:17 AM
which header ?

01-02-2001, 03:01 PM
Header template.

01-02-2001, 08:47 PM
do you mean header template under
options->change styles ?

01-02-2001, 08:50 PM
besides this thread, is there any resource on the net that detail talking the structure of vb and which template to build up a page, what is the use of indivdual php files ?
I found the offical user manual is not very enough

01-02-2001, 09:09 PM
Originally posted by adrianmak
do you mean header template under
options->change styles ? Yes, or under edit templates. The styles is just an interface to certain templates.

And no, there's not an official template resource handbook yet, but I think someone detailed about 50% of them. There may be one for 2.0. And there's little need to edit any of the PHP files.

01-02-2001, 11:05 PM
I added my test nav bar on the header template
but it appears at the top of the page as show below

http://free4home.dns2go.com/~adrian/screenshoot3.gif

01-02-2001, 11:13 PM
cut: forumhome template
Copy: into a editer like Frontpage or dreamweaver.

Make a two column table and put all of forumhome in the right column and your links in the left column.

cut the code and paste back into that template.

01-02-2001, 11:14 PM
I am going to make a book one day on this. :)

01-03-2001, 01:39 AM
vboard.co.uk,

that means I don't need to do anything on the header template ?

01-03-2001, 01:47 AM
<table align="left" width=150>
should do it.

Or

(in the header)
<table width="100%">
<tr>
<td><!-- Nav Bar --></td>
<td>

(in the footer)
</td>
</tr>
</table>

01-03-2001, 02:56 AM
In my understanding,

to put a nav bar on the left, there are two methods mentioned by two persons in this thread

1st method mentioned by vboard.co.uk
modify the forumhome template to make a two table
one on the left of the nav bar and one on the right for the forum

2nd method mentioned by Ed Sullivan
edit header template and footer template

<table align="left" width=150>
should do it.

Or

(in the header)
<table width="100%">
<tr>
<td><!-- Nav Bar --></td>
<td>

(in the footer)
</td>
</tr>
</table>


Please correct me if I am wrong

01-03-2001, 03:04 AM
Actually, I mentioned 2 methods - a left aligned table or one large table.

01-03-2001, 11:35 AM
Mine requires no header template.

Just Forumhome template.
I will try it later on today and see what I can do with it.

01-03-2001, 01:06 PM
okay mate I tried it with sucess.
Surf to: http://www.vboard.co.uk/test/index.php
for my demo of what I was talking about.

Only the front has that lay out so far.

01-04-2001, 11:23 AM
If you want a hand with this let me know.
It realy is not that hard.

In the header you would have the start of the table and the nav bar, then you have the open second column.
<table> (start of table)
<tr>
<td width=120> (nav bar)
Links
and
other
nav
bar
stuff
</td> (end nav bar)
<td> (open second column)

The is all you would have in your header and the forums yould be here

</td> (end second column)
</tr>
</table>

that would be in the footer

look at my source if you want

01-04-2001, 12:02 PM
vboard.co.uk

does the links at nav bar is hard code or dynamic ?

01-04-2001, 03:39 PM
They are normal links I wrote in.

I will change that so it calls on a new template I am creating for the nav bar so I can edit the template when I need to and update it very easy.

Easy stuff! :)

01-04-2001, 04:41 PM
Damn I could have suggested what UKliam said!
oh well use his!

Its easy to mantain then editing all displaying templates like Forumhome, Forumdisplay .etc

Me/ Brain dead! :(

01-04-2001, 08:54 PM
After creating a template for the nav bar, how to call it ?