Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives

Reply
 
Thread Tools
Left Column for Side Menu Links/ Nav Bar on every page Details »»
Left Column for Side Menu Links/ Nav Bar on every page
Version: , by Erwin Erwin is offline
Developer Last Online: May 2013 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 08-10-2002 Last Update: Never Installs: 0
 
No support by the author.

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!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 09-07-2003, 02:55 AM
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Location: Armyville
Posts: 1,074
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did something like Erwin posted (he gave me the great idea. Instead of having the left menu on every page I just wanted it on my index and below my thumbnail includer from Photopost-

I added the header for the table in the FORUMHOME template and the footer as he instructed in the footer.

http://www.trackpads.com/forum
Reply With Quote
  #13  
Old 09-07-2003, 10:35 AM
GamerzWorld's Avatar
GamerzWorld GamerzWorld is offline
 
Join Date: Aug 2003
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im a n00b with this kind of thing. How do i add boxes. Whats the code ?
Reply With Quote
  #14  
Old 09-07-2003, 06:13 PM
Airs's Avatar
Airs Airs is offline
 
Join Date: Oct 2002
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey trackapds would it be possible for you to release how to do that?.
Reply With Quote
  #15  
Old 10-05-2003, 05:34 PM
davidke davidke is offline
 
Join Date: Aug 2003
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

on my site it doesnt work fine, why?? please help me, i can't find any mistake
Attached Files
File Type: (21.4 KB, 111 views)
Reply With Quote
  #16  
Old 10-06-2003, 07:27 PM
switch switch is offline
 
Join Date: May 2003
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

davidke, you have to replase the "PUT YOUR MENU LINKS HERE." with your own menu code.

switch
Reply With Quote
  #17  
Old 10-07-2003, 05:55 AM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah but if you look at his screenshot everythings shoved over to the right and has gone off the screen
Reply With Quote
  #18  
Old 10-16-2003, 04:05 PM
drumsy's Avatar
drumsy drumsy is offline
 
Join Date: Nov 2001
Location: Charlotte, NC
Posts: 292
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone have the code to doing this on the right side of the page, instead of the left?
Reply With Quote
  #19  
Old 10-20-2003, 06:33 AM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any way to take the links from the DB,
not a manual way to writing them down?!
Reply With Quote
  #20  
Old 10-25-2003, 05:30 PM
mcahill mcahill is offline
 
Join Date: Apr 2002
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have the same problem...the first two posts (those next to my nav bar) are hanging off the side of the page, with no scrollbar or anything.

It looks as though it's taking the 100% from the table width and making it 100% of the full page width, not the table cell.

It's cool, this is just what I need. When I can get it working without dumping the posts off the side of the page.
Reply With Quote
  #21  
Old 10-25-2003, 06:58 PM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, i installed this on my test board and got errors like everyone else did. So i did basically what Erwin said in one of his posts

In the Header area at the top look for this code you added--

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

It's right at the top. I changed the 100% too 80% and it sorted everything out perfectly. Baring in mind i have my Main Table and Content Table width set to 85%.

Basically change that % on the code until you find one that works for you
Reply With Quote
Reply

Thread Tools

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:26 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.07672 seconds
  • Memory Usage 2,316KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete