I wanted the list of albums in the sidebaar, too. But the print_album_menu did not satisfy my needs, because I wanted the list of albums with the original thumbnails of the normal album list.
It does not work because on album.php there is already a next_album loop. There can only be one as it depends on interal objects that have been looped through already when you call it a 2nd time.
That is why there is the menu plugin. You will have to either modify the album menu plugin or you have to code your one menu function using the Zenphoto object model framework.
Comments
2. Modify your theme or make a custom one to match your requirements.
3. Use the print_album_menu plugin for example: http://www.zenphoto.org/documentation/plugins/_plugins---print_album_menu.php.html
To pick up a related problem:
I wanted the list of albums in the sidebaar, too.
But the print_album_menu did not satisfy my needs, because I wanted the list of albums with the original thumbnails of the normal album list.
So I copied the lines
`
<?php printGalleryDesc(); ?>
<?php while (next_album()): ?>
" title="<?php echo gettext('View album:'); ?> <?php echo getBareAlbumTitle();?>"><?php printCustomAlbumThumbImage(getBareAlbumTitle(), NULL, 95, 95, 95, 95); ?>
" title="<?php echo gettext('View album:'); ?> <?php echo getBareAlbumTitle();?>"><?php printAlbumTitle(); ?>
<?php printAlbumDate(""); ?><?php echo truncate_string(getAlbumDesc(), 45); ?>
<?php endwhile; ?>
`
into the sidebar.php.
This works within gallery, pages, and news ... but it does not work in album and images. Does anyone know why and how to solve the problem?
Greets
Der Hans
That is why there is the menu plugin. You will have to either modify the album menu plugin or you have to code your one menu function using the Zenphoto object model framework.