| Author |
Message |
mengesb
Beginner


Joined: Sep 17, 2007 Posts: 15
|
Posted: Wed May 28, 2008 3:04 am Post subject: Fixed size for block-G2_Sidebar.php |
|
|
So I'm trying to play around with the css themes, and finally have my site engineered the way that I want it to, except the block-G2_Sidebar is pushing things out of proportion to the rest of the site, so I was wondering if there was a way that I could enforce a width of any kind?
I want to prevent it from doing some funky stuff with my CSS designs and themes that I'm downloading.
Any insight would be greatly appreciated. I just finished integrating and while I don't have anything populated now, I want to start bringing in things shortly. I'm also interested in potentially limiting the size of the Random Image block that I also imported, I don't want that pushing my alignment of the site all over the place. I want to get rid of the extra block bar and lines if possible... I think this will go a long way aesthetically.
Site and info below
~Brian
----
Gallery URL: http://www.janetandbrian.info/
PHP-Nuke version: 8.0
Gallery version: 2.2.4
Gallery integration: 0.6.3
Apache version: 2.2.3
PHP version: PHP 5.1.6
Graphics Toolkit: php-gd.i386 5.1.6-15.el5
Operating system: CentOS 5
Web browser/version: Firefox 2.0.0.14 |
|
| Back to top |
|
|
AdBot
|
| Post subject: Fixed size for block-G2_Sidebar.php |
|
|
|
|
|
| Back to top |
|
 |
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6241 Location: Washington Township, NJ, USA
|
Posted: Wed May 28, 2008 6:30 am Post subject: Re: Fixed size for block-G2_Sidebar.php |
|
|
what do yo uhave in your sidebar? if you've got a thumbnail, the width of the sidebar will be at least the width of the thumbnail. _________________
 |
|
| Back to top |
|
|
mengesb
Beginner


Joined: Sep 17, 2007 Posts: 15
|
Posted: Thu May 29, 2008 7:59 pm Post subject: Re: Fixed size for block-G2_Sidebar.php |
|
|
dari wrote: › what do yo uhave in your sidebar? if you've got a thumbnail, the width of the sidebar will be at least the width of the thumbnail.
Previously I didn't have the thumbnail, but when I started adding pictures it generated it (the thumbnails were smaller than the width of the other modules on the bar).
It was displaying wider than anything else even when i didn't have pictures loaded, it appears that the width of the G2_Sidebar is just wider than most others in PHP Nuke |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6241 Location: Washington Township, NJ, USA
|
|
| Back to top |
|
|
mengesb
Beginner


Joined: Sep 17, 2007 Posts: 15
|
Posted: Sat May 31, 2008 12:46 pm Post subject: Re: Fixed size for block-G2_Sidebar.php |
|
|
Excellent, thank you, that did it.
Now I'm wondering, in that same file I can modify it so that I don't include extra things like the lines, and the thumbnail right? I like the separate thumbnail block better, and the G2 Sidebar is a bit long, so I wanted to reduce its size for the people administering the Gallery.
Thanks a bunch for that quick fix! |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6241 Location: Washington Township, NJ, USA
|
Posted: Mon Jun 02, 2008 6:49 am Post subject: Re: Fixed size for block-G2_Sidebar.php |
|
|
you can use the imageblock instead, so that the sidebar block can be visible only to admins. _________________
 |
|
| Back to top |
|
|
mengesb
Beginner


Joined: Sep 17, 2007 Posts: 15
|
Posted: Mon Jun 02, 2008 11:15 am Post subject: Re: Fixed size for block-G2_Sidebar.php |
|
|
dari wrote: › you can use the imageblock instead, so that the sidebar block can be visible only to admins.
Woudl you know the areas that I can exclude in the block-G2_Sidebar.php file? even as an admin, that block is quite long, and I'd like to remove some of the items in that list, including the random image, separator lines, etc. I imagine some of these can be trimmed by disabling modules/plugins in the base install of Gallery2.
Any other ideas on what's what that I can remove? |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6241 Location: Washington Township, NJ, USA
|
Posted: Mon Jun 02, 2008 11:30 am Post subject: Re: Fixed size for block-G2_Sidebar.php |
|
|
all that's done via the themes admin in g2. just de/select whatever you do /don't want to show up in the sidebar. _________________
 |
|
| Back to top |
|
|
mengesb
Beginner


Joined: Sep 17, 2007 Posts: 15
|
Posted: Mon Jun 02, 2008 12:05 pm Post subject: Re: Fixed size for block-G2_Sidebar.php |
|
|
dari wrote: › all that's done via the themes admin in g2. just de/select whatever you do /don't want to show up in the sidebar.
Aahh, sorry, haven't messed with G2 that much... been messing with phpnuke code for a while, trying to get what I wanted and here i was looking in the wrong place.
Thanks! I disabled a few unnecessary plugins and removed that nasty random block from the sidebar! |
|
| Back to top |
|
|
|
|
|
|
|