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

Album ID
https://www.tinywebgallery.com/forum/viewtopic.php?f=3&t=317
Page 1 of 1

Author:  Tubaplayer.com [ 18. May 2006, 21:55 ]
Post subject:  Album ID

Don't know if this is already possible, I can't remember having read anything about it yet (and I did read through A LOT on your website in the past couple of days..) ;)

It would be perfect if every album would have an album ID, so I could organize them by ID (first generated album gets ID 1, second gets ID 2 etc).
I am absolutely blank on PHP, and have no idea of how to make functions, but I'd be very happy to be able to insert something like this:

Code:
<?php get_albums_by_id(3,1,2,4,5) ?>


and get my albums ordered like this:
Album with ID 3 | Album with ID 1 etc...

Am I way off...?? :shock:

Paal

Author:  TinyWebGallery [ 19. May 2006, 17:39 ]
Post subject: 

HI,

I already thought of this :).

name you albums like 001_name, 002_name ....
Then your ordering works!

And then you use foldername.txt to give the folder the "display" name that should be shown instead 001__ .....

/Michael

Author:  Tubaplayer.com [ 19. May 2006, 18:18 ]
Post subject: 

Heh... Why didn't I think of that?? :oops:

Author:  TinyWebGallery [ 20. May 2006, 10:52 ]
Post subject: 

:) - this is why there is a forum :)

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