TinyPortal

Development => Support => Topic started by: zarej on December 22, 2007, 08:25:28 AM

Title: Left and right panel unproper width
Post by: zarej on December 22, 2007, 08:25:28 AM
When I click on button hide left or right panel, the panel(s) is hided and go to etc. forum and click to show panel. The panels width is smaller then one is setup in settings/panels. This problem is didn't show if I hide and show panels on one page until I go with hided panel to other page.

(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg529.imageshack.us%2Fimg529%2F8812%2Fscreenshot2bb3.th.png&hash=7d0516d76efc2c0831e6e929f532702564aab656) (http://img529.imageshack.us/my.php?image=screenshot2bb3.png)

You see how it show left panel which is hided on previously page and show here

Also I noticed when I set Hide left/right panel when in forum? there is no button to show hidden panels in forum tab. Its act like I set Use left/right panel to off.

All problems that i noticed are not connected with Themes it is the same situation with all themes that I tested.

Sorry my English is not so good I hope you understand me.

Best Regards
Title: Re: Left and right panel unproper width
Post by: Zetan on December 22, 2007, 08:54:08 AM
How are the panel width settings, what are the values?

Admin > TinyPortal/Settings > Panels > [    ]  width in pixels/left and right

Please read the Posting Guide in this board and provide as much information about the theme, SMF/TP version.
Content within the blocks may also help along with a link to your site.
Title: Re: Left and right panel unproper width
Post by: zarej on December 22, 2007, 02:39:44 PM
Quote from: ZTN on December 22, 2007, 08:54:08 AM
How are the panel width settings, what are the values?
Admin > TinyPortal/Settings > Panels > [    ]  width in pixels/left and right
Both is set default to 170px no cahanged.

I didn't upload site yet it is on my local machine so I cant provide url.
Version of SMF:  SMF 1.1.4
Version of TP: TinyPortal v0.9.8 © Bloc
Both are fresh install with no mods or other addons
Theme is default Theme but I try an couple others and happened the same thing
I don't have any other CMS.
Site is test site.

Step by step actions that I do:
1. At home page i click on buttons to hide left and right panel
2. I go to forum (panels are hided) and press buttons to show left and right panels
3. Panels are showing with width less then 170px (maybe 50-100px range) Like on picture thet I posted upper. When I go to Refresh in browser the width of panels become correct.

Second thing (maybe is for another thread)
When I set in Admin > TinyPortal/Settings > Panels > Hide left/right panel when in forum? on Yes, I expect to buttons Show panel is present when I go to Forum. But they isn't present and it is the same situation like I checked option  Use left/right panel to off

Thanks for quick answer.


Title: Re: Left and right panel unproper width
Post by: Zetan on December 22, 2007, 02:45:38 PM
What happens when you go to forum, show the left/right panels.. and refresh the page?
Title: Re: Left and right panel unproper width
Post by: zarej on December 22, 2007, 03:45:48 PM
It is OK normal like it should be - width of panels is 170px. But problem is if I don't refresh page after clicking show panel, then panel is narrower.
Title: Re: Left and right panel unproper width
Post by: Zetan on December 22, 2007, 03:48:23 PM
Yup.. It happens on my site too, nothing but to refresh really.
It's not like I expect people to just idly sit there opening and closing panels  :buck2:
Title: Re: Left and right panel unproper width
Post by: zarej on December 22, 2007, 05:22:58 PM
Yes but it is a bug and it is directly connected to my second problem. Option Hide left/right panel when in forum? and Use left/right panel have the same function but only in forum tab. I want to by default panels in forum are hidden but if I want I could show the panels. This is not possible for 2 reasons first reason is this bug because if it were hidden when panel show up it will be narrower when I click Show button.

Second reason is if I say Yes on Hide left/right panel when in forum? there is no Show button.

I just like TinyPortal because i want to improve it. This is not a big deal  but I think its a bug.
Title: Re: Left and right panel unproper width
Post by: Zetan on December 22, 2007, 05:29:32 PM
You want to have panels hidden collapsed by default in the forum? But with the option to expand them?

I misunderstood what you were trying to do.
Title: Re: Left and right panel unproper width
Post by: zarej on December 22, 2007, 06:29:26 PM
Yes thats right. Sorry again for my English. Is it possible?
Title: Re: Left and right panel unproper width
Post by: Zetan on December 22, 2007, 06:45:15 PM
Not by default.. I did try once and gave up. If you make it Collapsed in the forum, then you'd need to add extra code for it to Expand on the home page, or visa versa.. I know what you are trying to do now as I tried at it for a while, I'm sure I managed to get it to work.. but not properly

Not being a coder..

You're English is fine  :)