Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 29. Mar 2024, 10:42

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 21. Feb 2006, 09:38 
Offline

Joined: 21. Feb 2006, 09:14
Posts: 7
It would be great if subalbums were only shown on the first page of an album.

This would mean that less pages would be needed for the album, as there would be room for more thumbnails on every album page but the first.


Top
 Profile  
 
 Post subject:
PostPosted: 21. Feb 2006, 10:10 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Good idea - I'll putthis on my todo list ... ;).

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 21. Feb 2006, 10:21 
Offline

Joined: 21. Feb 2006, 09:14
Posts: 7
OK, thanks.

I actually just did it myself...

I edited index.inc.php and edited the function show_folders()

I added the line
Code:
global $twg_offset;
underneath the other globals and changed line 66 from
Code:
    if ($nr > 0) {
to
Code:
    if ($nr > 0 && $twg_offset == 0) {
But of course you will probally want to put in the option to turn it on/off and want to check what i did is right (it seems to work fine).


Top
 Profile  
 
 Post subject:
PostPosted: 21. Feb 2006, 11:07 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
actually - no,

I don't want to have any more options and I
would have made it the same way ;).

Because why show the subfolder again and again ?

I'll include this in 1.4 and make some tests :).

Thanks,
Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy