![]() |
|
Display Sub-Album Descriptions - 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: Display Sub-Album Descriptions (/thread-13654.html) |
Display Sub-Album Descriptions - Nick7635 - 2021-10-19 I'm using zpbootstrap, and have pages displaying sub-album thumbnails. The Titles display underneath the thumbnails, but I also wish to display the Descriptions. Can I do this? (Sorry if I've missed the answer in the User Guide). Display Sub-Album Descriptions - acrylian - 2021-10-20 You will need to modify the theme. Within the `next_album` loop on a theme's `album.php` you can use any function that also works for the album itself. Examples in the included basic theme and on the demo theme linked from the theming tutorial. Display Sub-Album Descriptions - fretzl - 2021-10-20 I see different possibilities and I'm not sure which is best. Try this: In **inc_print_image_thumb.php** find the first occurrence of `<div class="hidden caption">` (line 31) and remove the `hidden` class so it becomes `<div class="caption">`. Then at the bottom of the page find: ``` "> <?php printBareImageTitle(); ?> ``` and change it into a conditional: ``` "> <?php if ( !isImagePhoto() ) { ?> <?php printBareImageTitle(); ?> <?php } ?> ``` This is not thoroughly tested and may have unwanted side effects. |