Topic: Editing the side-bar?

Thanks to the great link (http://punres.org/doku.php?id=tutorials … _a_sidebar) I successfully managed to put a sidebar on my site.

The trouble is I only want the side bar to appear on my actual site and not when a user enters the board. Is this possible?

I presume that instead of adding the bar to main.tpl I just have to put the code somewhere else but I'm not sure where?

It looks cool on: www.juju.34sp.com
but not when actually reading a board: http://www.juju.34sp.com/viewforum.php?id=3

Can anyone show me how to only have the sidebar only on certain pages? Thanks!

2

Re: Editing the side-bar?

You need to create a few seperate files. Create header2.php and main2.tpl from the originals.

Make the sidebar changes to those files.

Then edit header2.php so it uses the main2.tpl and edit index.php so it loads header2 and not header.php.

Re: Editing the side-bar?

try this:

http://punbb.org/forums/viewtopic.php?id=10075

i had the same problem... now it's working pretty well