vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Left Column for Side Menu Links/ Nav Bar on every page (https://vborg.vbsupport.ru/showthread.php?t=42115)

Erwin 08-10-2002 02:10 AM

Left Column for Side Menu Links/ Nav Bar on every page
 
I'm sure this has been posted here before, but since Boofo wanted to know how to put a left column menu on every page using a template mod, I thought I would post it here in case anyone else is interested too.

It's fairly simple - just adding some code to your "header" and "footer" templates using basic HTML.



In your "header" template -

ADD this code at the BOTTOM of the template:

Code:


<table cellspacing="0" cellpadding="0" border="0" align="left" width="150">
<tr><td>

PUT YOUR MENU LINKS HERE.

</td></tr></table>
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr><td>


In your "footer" template -

ADD this code at the TOP of the template:

Code:


</td></tr></table>



There you have it - a left column side menu nav bar on every page! :)

Mr_P 08-10-2002 08:37 AM

works well - but thing is it makes a big gap at other side of your board as well

how can you have this side menu yet make board use up all the remaining space???????

Cheers for info in first place m8

Erwin 08-10-2002 09:11 AM

Just use the new "header" template code in the first post - I added width="100%" to the SECOND table in the "header" template which should make the main forum table fill up the whole page.

Feel free to adjust the width of the table for the side menu and the main forum table.

Mr_P 08-10-2002 11:51 AM

well done m8 works well just gotta suzz out now how to get the side menu from VBINDEX in there now as everytime i call it in it messes the main page up beyond belief

NTLDR 08-10-2002 05:30 PM

Well heres the template edit :) I'll get the file and integration edit done now ;)

Bad Bunny 02-23-2003 02:31 PM

This gets real funky when viewing a thread.
When posts extend past the menu, they extend all the way to the lefct. Is there any fix for this?

dawn 03-09-2003 07:03 PM

Sorry for this stupid question, BUT I cant fix it, I dont see where to add the width="100"

Also, how to make all the pages adjustable when I minimized the screen.

does anybody knows the values for:
- Main Table Width
- Content table Width?

Tony G 03-10-2003 09:09 AM

One of these were released at vBT too, but it had lots of pre-coded vB related links. ;)

Nice work Erwin! :D

Dean C 03-10-2003 04:15 PM

Check the template faq in my sig on details on how to do this a different way :)

Regards

- miSt

dawn 03-11-2003 06:55 PM

Thanks

one more thing, any idea of how to have 3 columns rather than 2 in all the forum pages.

I've found one hack but is not working in all the pages, the problem is when u go deep to the message itself, it's a mess.

Im using vb 2.3

thanks


All times are GMT. The time now is 01:50 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00998 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete