This project is read-only.

tag cloud buckets not recognised 1.8

Topics: General
Apr 6, 2014 at 8:58 PM
this happened after migrating from 1.7.1 to 1.8

My 'Tag Cloud Widget' defines 5 buckets. However, the classes are NOT set accordingly! ALL classes are set to one (1):
<li class="tag-cloud-tag tag-cloud-tag-1"> (see below).

The cloud is built correctly and, when clicking, shows the correct number of objects.

Hence, the same font-size is used for all cloud members (see below)
do I miss something ? PS: it's not a high priority issue
thanks for reading. ed

/ TagCloud /
ul.tag-cloud { list-style: none }
li.tag-cloud-tag { display: inline; }
.tag-cloud-tag a { border: none}
.tag-cloud-tag-1 { font-size: 1em; }
.tag-cloud-tag-2 { font-size: 1.3em; }
.tag-cloud-tag-3 { font-size: 1.6em; }
.tag-cloud-tag-4 { font-size: 1.9em; }
.tag-cloud-tag-5 { font-size: 2.2em; }
/ End TagCloud /

<article class="widget-aside-second widget-tag-cloud widget">
<ul class="tag-cloud">
<li class="tag-cloud-tag tag-cloud-tag-1">
    <a href="/Tags/aizoaceae">aizoaceae</a>
<li class="tag-cloud-tag tag-cloud-tag-1">
    <a href="/Tags/Apocynaceae">Apocynaceae</a>
<li class="tag-cloud-tag tag-cloud-tag-1">
    <a href="/Tags/Asparagaceae">Asparagaceae</a>
<li class="tag-cloud-tag tag-cloud-tag-1">
    <a href="/Tags/Asteraceae">Asteraceae</a>
Apr 7, 2014 at 5:15 PM
Can you check the count for each of the terms ? If they are the same, then it will make only one bucket.
Apr 7, 2014 at 8:52 PM
Edited Apr 7, 2014 at 8:57 PM
The counts per term are definitely not the same. The range is from 1 up to 6 tags per term. As I said previously:
"The cloud is built correctly and, when clicking, shows the correct number of objects. " (number: being the count of a specific term)

Except for the CSS formatting all works fine i.e. exactly like in 1.7.1/2!
It obviously uses always the same 'tagCount.Bucket':
"<li class="tag-cloud-tag tag-cloud-tag-@tagCount.Bucket">" It's a 1:1 migration except that it's no longer a Vandelay function but obviously now in Orchard.tags Module. All I changed were the 'class' names in the stylesheet!
Apr 7, 2014 at 10:01 PM
Please file a bug, I will look into it.
Apr 8, 2014 at 6:00 AM
bug filed
Item number: 20610