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 24. Nov 2024, 09:53

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  [ 6 posts ] 
Author Message
 Post subject: Album sorting issue
PostPosted: 21. Jun 2010, 11:00 
Offline

Joined: 11. Jun 2009, 09:02
Posts: 81
Hi,

I got the problem when I do sort album order by album creation date. The question as shown below:-

1) Can I do sorting order by album creation date?
2) I found if I do some changes on the album (e.g. add foldername.txt or folder.txt) in the album folder, the folder creation date will be changed. As result, this folder cannot be followed by last ordering of these albums.

The main objective is I use this sorting method is in order to let all users can browse my photo album as newly as show. Everybody visit to my album and they would know which is most recent one.

So I need to have your advices regarding above questions.

Thank you for your kindly attention and assistance!

Godmel


Top
 Profile  
 
 Post subject:
PostPosted: 21. Jun 2010, 15:56 
Offline

Joined: 16. Dec 2008, 05:51
Posts: 40
You can always add a date to your folder name ie. 20100621_folder. This way, your folders stay in order no matter what your foldername.txt says...

That's what I do, and it works great!

_________________
itsa


Top
 Profile  
 
 Post subject:
PostPosted: 22. Jun 2010, 06:13 
Offline

Joined: 11. Jun 2009, 09:02
Posts: 81
Thank you for sharing! :D

Is that a necessary step to cooperate with below sorting items?!

Have you found a problem on when you set the album order by using admin console?! I found the problem were happened in "Sorting" session

There are three items for sorting albums

Sort albums
Sort albums ascending
Sort albums by date

I found when I set "true" on both "Sort albums" and "Sort albums by date", set "false" to "Sort albums ascending" then save settings and delete the session cache. It always didn't followed my settings and always set "true" by itself for above three items, I don't know why and I saw it can be changed on "config.php" file but in admin console, it cannot be reflected.

Thanks a lot!
Godmel


Top
 Profile  
 
 Post subject:
PostPosted: 23. Jun 2010, 11:50 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
i'll check if the sorting parameters are written properly to the my_config.php.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 25. Jun 2010, 00:04 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
They are written properly.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 25. Jun 2010, 11:14 
Offline

Joined: 11. Jun 2009, 09:02
Posts: 81
Hi Michael,

I didn't written to my_config.php file since because of I tried that before and got the same result to my environment. Anyway, I have followed above steps provided from member "itsa". It works fine initially, but now I found it didn't follows and I don't know why it won't be followed by name of the folder date sorting in sequence. (e.g. this is a example of the folder name formant "20100715_ABCdotcom")

Please advise and how to fix it please. :?

Action are taken:-

- Changed of the album sorting then delete session cache
- Make sure that all album folders have been name correctly by date order
- Delete session cache manually

Godmel


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 53 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