vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   2 Noob questions ^^; (https://vborg.vbsupport.ru/showthread.php?t=128514)

osayidan 10-07-2006 05:30 PM

2 Noob questions ^^;
 
Hi,
An answer to either of these is much apreciated :)

1:
I wish to add a navigation column on the left side of my forum on every single page. I already know how to add it using the include thing such as "$navigation".

All I would like to know is, is there a way to apply this to every page (and I mean every single page on the forum, including user cp, while posting, searching...) by editing a single template, or must I do it to each template?

And if it is each template, are there any that would not need this? (obviously header and footer would not, for example).

--------------------------

2:
nevermind this one, I figured it out ^^
thanks anyways.

(still would like help on question one though before i begin working on every sngle template lol)

peterska2 10-07-2006 06:59 PM

I've moved this to the Design and Graphics Discussions Forum.

In answer to question 1, have a look at [name]amykhar[/name]'s Left side column on all pages and my vertical site navigation modifications. Used in conjunction with each other they will achieve what you want to do with just a couple of template edits (header, footer, and left_column - new template)

osayidan 10-08-2006 03:19 PM

Thank you for the reply:)
The left side navigation mod didn't quite suit my needs due to its coding interfering with other design elements, but looking at it i made my own code that does the same thing.

Thanks for pointing me in that direction =)

-----------
for anyone who cares to know, this is what i did:
instead of having the table cell for the left navigation begin in the header and end in the footer, i put it all in the header, and opened up a cell for the content to be held in, then closed that cell in the footer.

header:
Code:

</td>
  </tr>
  <tr>
  <td width="17%" align="left" valign="top">
          <table width="100%"  border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td valign="top">$leftnav</td>
            </tr>
        </table>
  </td>
  <td width="83%" align="left" valign="top" id="content">
<!--- content loads in bellow here --->

footer
Code:

</td>
  </tr>
</table>
<table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0">
<!--- rest fo the footer bellow here --->

I then edited the navigation template to be empty, so it wont display, and put the navigation in my header instead.

here is how it looks:
http://imgfree.com/images/hsxathpxidci.gif


All times are GMT. The time now is 04:42 AM.

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.01449 seconds
  • Memory Usage 1,716KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete