ZenphotoCMS Forum
Default value of $mincount parameter of printAllTagsAs() function - 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: Default value of $mincount parameter of printAllTagsAs() function (/thread-12755.html)



Default value of $mincount parameter of printAllTagsAs() function - sama55 - 2015-06-20

Thank you for your great product. I'm using zpMobile theme. I was wondering that tags do not appear in the archive page. This was caused by the default value (10) of $mincount parameter of printAllTagsAs() function. I can understand this function displays the most "popular" tags. But, it might be misinterpreted as a bug. libratus and zpbase theme set "1" to this parameter. I think $mincount parameter should be 1.

What do you think about this?




Default value of $mincount parameter of printAllTagsAs() function - acrylian - 2015-06-21

If you start with minvalue of 1 they are not really the most or more popular tags. Themes are always suggestions to be modified to your own needs.

But probably you are right that this might be confusing to users since it is called "archive".