![]() |
|
where to find album IDs? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: where to find album IDs? (/thread-6501.html) |
where to find album IDs? - mrbiggs - 2010-01-25 I know that this will end up being something obvious. But I cannot find anywhere the ID numbers for my albums. I know they have them, and I have a Wordpress plug-in that needs them. But no where in the admin do I see them? I'd think that they would be in the EDIT tab, where the albums can be sorted and arranged. I hope the answer isn't the SQL databases. That would be absurd. thanks. where to find album IDs? - acrylian - 2010-01-25 Well, they are indeed in the database. Normally you don't really need the ids as the "folder name" of albums and the "filename" of images is what is used internally as the unique value within the Zenphoto object model. Zenphoto is filesystem based as you probably know. You can however display the ids easily on the theme if you need them. See the documentation. MAybe some info about what your plugin actually is trying to do will help. where to find album IDs? - mrbiggs - 2010-01-25 The plugin is zenphotopress, which has short code for showing the thumbs of an album on a page or post in wordpress. The shorttags go something like so: I don't need them displayed on the user side. Just on the admin side. I've asked the ZPP people the same question. I'm not sure what they were thinking. where to find album IDs? - acrylian - 2010-01-25 Sorry, except for phpmyadmin the only way is to do it on the theme. But you can easily limit the display to the logged in user using. We probably could add it but it is really rarely needed. The id for albums and images is incremented by the db and actually shows the order Zenphoto discovers the images/albums on the filesystem this the sortorder option. Of course the id is also used for image to album relations, tags and this sort of thing but for getting/setting up an album/image object it is not needed. where to find album IDs? - mrbiggs - 2010-01-25 Thanks. Brian where to find album IDs? - acrylian - 2010-01-25 Btw, ZPP's developer Simbul visits this forum regulary, too. You can also use this long living special thread: http://www.zenphoto.org/support/topic.php?id=1896&page=8 where to find album IDs? - mrbiggs - 2010-01-25 Hey thanks. |