PDA

View Full Version : 2 Noob questions ^^;


osayidan
10-07-2006, 06:30 PM
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, 07:59 PM
I've moved this to the Design and Graphics Discussions Forum.

In answer to question 1, have a look at amykhar'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, 04: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:

</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

</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