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 28. Mar 2024, 11:27

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
 Post subject: Album ID
PostPosted: 18. May 2006, 21:55 
Offline

Joined: 16. May 2006, 12:05
Posts: 13
Location: Norway
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


Top
 Profile  
 
 Post subject:
PostPosted: 19. May 2006, 17:39 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
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


Top
 Profile  
 
 Post subject:
PostPosted: 19. May 2006, 18:18 
Offline

Joined: 16. May 2006, 12:05
Posts: 13
Location: Norway
Heh... Why didn't I think of that?? :oops:


Top
 Profile  
 
 Post subject:
PostPosted: 20. May 2006, 10:52 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
:) - this is why there is a forum :)


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 10 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