You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There doesn't seem to be a setting for the minimum number of occurrences required before a tag can appear in a cloud. For very large clouds this is essential. Right now I'm just using e.g.:
if tag.num_times > 25 ...
in the tag cloud template loop, but this seems very inefficient since it has to select the entire tag set then count occurrences for each to decide whether to display it. Is there a better way? Thanks.
The text was updated successfully, but these errors were encountered:
I'm ending up with a huge cloud as well. I can see two possibilities here:
1- Configure a minimum number of occurrences to show a tag in the cloud (as @shacker suggested).
2- Configure a maximum size for the cloud (N) and only return the N most relevant tags.
@feuervogel if you tell me which one you would prefer I can work in the implementation.
There doesn't seem to be a setting for the minimum number of occurrences required before a tag can appear in a cloud. For very large clouds this is essential. Right now I'm just using e.g.:
if tag.num_times > 25 ...
in the tag cloud template loop, but this seems very inefficient since it has to select the entire tag set then count occurrences for each to decide whether to display it. Is there a better way? Thanks.
The text was updated successfully, but these errors were encountered: