Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

Remove 'Please select a gallery.' and language icons
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=2906
Page 1 of 1

Author:  aerochrome2 [ 22. Feb 2011, 01:00 ]
Post subject:  Remove 'Please select a gallery.' and language icons

Quick question, is there a way to remove the top bar on the overview/thumbnail pages that says 'please select a gallery' (space) and then has three or four language icons (all the way to the right?)

Thanks in advance

Author:  TinyWebGallery [ 22. Feb 2011, 01:24 ]
Post subject:  Re: Remove 'Please select a gallery.' and language icons

Sure. You can set

$hide_top=true;

If you only like to hide the languages remove all language files except the one you like.
Or set $show_breadcrumb = false; to only hide the breadcrumb.

- Michael

Author:  aerochrome2 [ 22. Feb 2011, 03:40 ]
Post subject:  Re: Remove 'Please select a gallery.' and language icons

Great thanks! Quick followup, once the top is hidden, the whitespace at the top feels bigger. Is there a way to bring the gallery up?

Added a screenshot and marked the extra white are with blue lines***

Attachments:
Capture.JPG
Capture.JPG [ 68.09 KiB | Viewed 4557 times ]

Author:  TinyWebGallery [ 22. Feb 2011, 09:34 ]
Post subject:  Re: Remove 'Please select a gallery.' and language icons

check with the firefox extension firebug what is there...

- Michael

Author:  aerochrome2 [ 22. Feb 2011, 23:48 ]
Post subject:  Re: Remove 'Please select a gallery.' and language icons

Thanks, attachment 2 is what firebug showed

Attachment 1 is a possible clue as to the same big white gap at the bottom. I took a screenshot of what happens when the mouse hovers over the blank area and it seems to be some kind of hits grap.

EDIT: its also worse on some pages than others. for instance #removed_broken_link is very bad, while #removed_broken_link is manageable. There are no differences that I can see in how the pages are coded.

Attachments:
Capture.JPG
Capture.JPG [ 22.13 KiB | Viewed 4554 times ]

Author:  TinyWebGallery [ 22. Feb 2011, 23:53 ]
Post subject:  Re: Remove 'Please select a gallery.' and language icons

This is the hits counter you can simply tun off.

But I don't think this is because of your gap - because this is on an extra layer.

Do you may have specified a block level element somewhere?

- Michael

Author:  aerochrome2 [ 23. Feb 2011, 01:39 ]
Post subject:  Re: Remove 'Please select a gallery.' and language icons

Sorry, I use dreamweaver and am not great at coding. Where would I look to see if I specified a block level?
On a related note, it appears fine in Firefox (the previous screenshots were in chrome)

EDIT: also my 'show hit counter' option is set to false already...

Author:  TinyWebGallery [ 23. Feb 2011, 01:47 ]
Post subject:  Re: Remove 'Please select a gallery.' and language icons

hit counter != counter history.

- Michael

Author:  aerochrome2 [ 23. Feb 2011, 02:15 ]
Post subject:  Re: Remove 'Please select a gallery.' and language icons

Sorry to be a pain and thank you for all the prompt replies, but I do not see where the option is. Under 'functionality' I see "show the counter" which is set to false. I cannot find any other options. Is it something I need to type into the additional page?

Author:  TinyWebGallery [ 23. Feb 2011, 11:40 ]
Post subject:  Re: Remove 'Please select a gallery.' and language icons

you have to set:
$enable_counter_details=false;

- Took me 5 sec to search for "counter" in config.php and find this setting. :).

Or on the config page:
http://www.tinywebgallery.com/en/configuration.php

- Michael

Author:  aerochrome2 [ 23. Feb 2011, 14:26 ]
Post subject:  Re: Remove 'Please select a gallery.' and language icons

Solved the original problem.

1) Set tablehight to 500 in both places.
2) Disabled attempt to detect thumbnails (this was causing 90% of the problem).

Thus, I just picked a combination of thumbnail size, number per row and number per column that looked nice in a 500 hight table and it worked.

Author:  TinyWebGallery [ 23. Feb 2011, 17:32 ]
Post subject:  Re: Remove 'Please select a gallery.' and language icons

That's fine.

I did not think about the auto thumb feature. I reserve some extra space and in your case this spaces added up...

Best, Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/