Hi all,
I'm using ZP for a client's site: they're a construction company who wants a nice image gallery.
The theme is integrated with WordPress, very loosely (the only WP function I'm using is the footer).
When I edit a sub-album's description, it goes blank and becomes the parent album's description. When I try to edit the parent album's description, it just changes back to the sub-album description.
Have a look.I've searched the forums and looked at several other sub-album enabled themes but can't find where I'm going wrong. This particular theme is built from the default theme (with sub-album support).
Thanks for any and all help!
Comments
I know this is probably a stupid mistake in my theme, but I can't find where I've gone wrong based on other sub-album themes...any gurus out there care to take a shot at it?
Also, here's the relevant code in my index and album .php files:
Index.php:
`<?php while (next_album()): ?>
" title="View album: <?php echo getAlbumTitle();?>"><?php printCustomAlbumThumbImage(getImageTitle(), 310, 310, 116, NULL, NULL, NULL, NULL, NULL, NULL); ?>
" title="View album: <?php echo getAlbumTitle();?>"><?php printAlbumTitle(true); ?>
<?php printAlbumDesc(true); ?>
<?php endwhile; ?>`
And album.php:
`
<?php while (next_album()): ?>
" title="View album: <?php echo getAlbumTitle();?>"><?php printCustomAlbumThumbImage(getImageTitle(), 310, 310, 116, NULL, NULL, NULL, NULL, NULL, NULL); ?>
" title="View album: <?php echo getAlbumTitle();?>"><?php printAlbumTitle(true); ?>
<?php printAlbumDesc(true); ?>
<?php endwhile; ?>
<?php while (next_image()): ?>
" title="<?php echo getImageTitle();?>"><?php printImageThumb(getImageTitle(), imageThumb); ?>
<?php endwhile; ?>
*update*
It worked, but now I've lost in-line editing and have to do all the album description info from the admin panel. Can't I have both?
Thanks for the tip! That actually solved a few problems.