From: Andrew L. <joy...@ya...> - 2003-04-22 02:14:31
|
--- J Adams <ada...@ad...> wrote: > hi: > > i'm trying to modify gallery so that i can display > all the albums in a > hierarchical tree view where I can show and hide > albums using javascript. > is it possible for two different albums to have the > same name? > > for instance > > gallery/album1/subalbum1 > gallery/album2/subalbum1 > Unfortunately, Gallery albums are all kept at the root of the albums directory, no matter if they are sub albums or not. So, gallery albums cannot be referenced in the way you are talking about anyway :( > ?? > > ALSO, each album has a name and also the id that > shows up in the URL...what > are the album properties that allow to access these? > for instance: > > "Medical Photos" might be the name of the album > whereas its url is > gallery.com/album01 > Gallery albums have a title, which is totally separate from it's name. It's name is what the directory is called (e.g. 'album01'). The title (e.g. "Medical Photos") is basically just a field in the database, a more appealing title if you will, to be displayed for users :) See Album.php in classes/ for more details, if you're interested in actually modifing Gallery code or accessing album properties from a PHP script... > your help is much appreciated. > I probably wasn't much help, as this is sort of hard to explain. I'm sure beckett or bharat could write something of similar length and it be much more helpful, but I'll try to answer anything else :) --Andrew __________________________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com |