1 (edited by bingiman 2007-03-26 23:24)

Topic: For those who wish to use left and right blocks on your minportal mod

I have spent ages trying to get this to work after receiving zero responses here. I finally did it today and it all appears to be working just fine with all the popular browsers.

Open your include/template/main.tpl file and copy this over your existing one.

    <style type="text/css">
  
#left {
    float:left;
    width: 150px;
    overflow: hidden;
}

#right {
    float:right;
    width: 150px;
    overflow: hidden;
}

#main { 
    display: block; 
    overflow: hidden; 
    width: auto; 
    padding-left: 5px; 
    padding-right: 5px; 
    margin-left: 1px; 
    margin-right: 1px;
}

    </style>

Cheers!
Bingiman

2

Re: For those who wish to use left and right blocks on your minportal mod

should add this to the mini portal wiki page on punres wink

3 (edited by bingiman 2007-03-26 23:29)

Re: For those who wish to use left and right blocks on your minportal mod

I have absolutely no idea how to do that. sad

4 (edited by Mark 2007-03-26 23:29)

Re: For those who wish to use left and right blocks on your minportal mod

lol, if you wait till tomorrow, ill do it tongue

edit: actually, ill do it now!

Re: For those who wish to use left and right blocks on your minportal mod

ok, thanks Mark.

6 (edited by Mark 2007-03-26 23:37)

Re: For those who wish to use left and right blocks on your minportal mod

done http://wiki.punres.org/Miniportal#left_and_right_blocks


edit: i think mini portal should be called massive portal with all the aditions getting added to the wiki for it lol

7

Re: For those who wish to use left and right blocks on your minportal mod

When you say overwrite what's there, do you mean over write everything in that file with that info?

8

Re: For those who wish to use left and right blocks on your minportal mod

no just the part were that text is (the text that is there will be similer to that)

9 (edited by shen 2007-04-17 21:32)

Re: For those who wish to use left and right blocks on your minportal mod

nevermind I found the prob. Thanks

Re: For those who wish to use left and right blocks on your minportal mod

I do it but I can see the column on the left, under the main column in the center..why?

Re: For those who wish to use left and right blocks on your minportal mod

Try setting your right/left block widths to 150px. You can open your include/template/main.tpl file and make the adjustments in there. You can also do as I have done. In my case I had this in the main.tpl file:

#main {/* Removed from main.tpl */  
    display: block; 
    overflow: hidden; 
    width: auto !important; width: 625px; /* IE6 Fix */ 
    padding-left: 5px; 
    padding-right: 5px; 
    margin-left: 1px; 
    margin-right: 1px;
}

I've removed it and added it to each of my theme's stylesheets. The reason I did this is because of IE6 and the fact that I use quite a few themes and I have to set the width for each one depending on the theme's overall width. Anyway, try the above first and let me know if that works for you. If that fails, you can also adjust the width of your center block as well.

bingiman

12

Re: For those who wish to use left and right blocks on your minportal mod

Could someone help me with my site?  I just want this set up and that is it.

Add me to msn please

ottcommunity@hotmail.com

Thanks in advance!

Re: For those who wish to use left and right blocks on your minportal mod

I'm using the portal with navbars at both sides. Left side is navigation, right side are links to sponsor websites, picture of the day, small shoutbox & who's online.

I'd like to have the left navbar at the left side at all times, but the right navbar is less important and regarding the width of the forum I'd like to disable the right navbar only while people browse the forums. I don't really know how to get this done. yikes



Summary: I want to disable the right navbar @ the forum part of the website.

Thank you in advance! wink

14

Re: For those who wish to use left and right blocks on your minportal mod

best way to do that is set a portal page to use a diffrent template then set the main one to use a template without the right hand side bar.

Sorry. Unactive due to personal life.