I fear I can't reproduce it. Neither on my local MAMP install nor on my live test site. See here working as expected: http://zenphoto.maltem.de/album1
Called with printAllTagsFromAlbum($_zp_current_album->name,false,"images"); right before the description call and the next_image loop.
There must be something different. Maybe you can try a standard theme?
You're missing a parameter from the function call, either $showcounter or $tagcloud.
Thanks for that. It seems to work now. I did forget one of those parameters.
But... something else is not quite right yet, I think.
When you look at this link, at the bottom of the page some tags are listed. But only the tags 'fabriek' and 'stoelen' are actually tags within that album and subalbums. You can check that by clicking the second, third and fourth subalbum. There are no tags in those albums, just two in the first one ('behangfabriek rijen'). The other tags are tags that belong to images in other albums.
Hello Acrylian,
Thanks, works much better now .
I only get this code when I'm on an album page with only album thumbs and no image thumbs:
Warning: Invalid argument supplied for foreach() in /srv/jackdaw/www/www.spoenk.nl/beeldend/zp-core/zp-extensions/tags_from_album.php on line 122
I placed the function at the bottom of album.php, so the function is called on pages with just albums and pages of image thumbs. I hope it has nothing to do with that normalizecolumns thing, because I don't use that.
Also I'd like to now if there is a function which can check if the images inside an album has any tags. That way I can hide the line 'Tags inside this album:' if there are no tags.
Thanks for testing. I get this warning also, this is still a "bug" within ther "print" variant and will go away soon. I first wanted to know if the function itself now generally works.
The normalizeColumns function affects only the loops, not this function.
Once this is really finished you will be able to use the getAllTagsFromAlbum (with the same parameters like the print one) to do this check. This then will return "false" if there are no tags.