I have managed to get a semblance of subalbum administration added to my theme. I placed the following code in the footer section of alblum.php:
<?php
global $_zp_current_album;
if (zp_loggedin()) {
echo ' · ';
printLink(WEBPATH.'/zen/admin.php?page=edit&album=' . $_zp_current_album->name . '/', 'Edit Album', NULL, NULL, NULL);
}
?>
This gives me a link to edit the subalbum. Sorting the album appears to work, but doesn’t “stick†and “« back to the list†takes you to the admin edit page (as you might expect.) But you can change the thumbnail for the subalbum and edit the image titles and descriptions, so it is useful.
Comments
How can I sort the subalbums ?
http://www.zenphoto.org/trac/ticket/6
This will allow the sorting. Otherwise you have to use phpMyAdmin to set the sort_order field directly.