Hi,
the module works fine for me with one of my vocabs, redirecting to vews displays etc..
Only one thing I do not understand.
Just as I created taxonomy redirect (for one term in my vocab as a test, first, then for all terms in the vocab) Tagadelic module changed type sizes for all my terms.
I tried to understand the logic of the sizes but failed - big letters for terms with few and many posts and vice versa.
I played with the settings of tagadelic but no response at all - nothing changes, even when I set 1 level.
Any ideas?
Thanks.

Comments

Moscow’s picture

Status: Active » Patch (to be ported)

Seems this patch has done the job: http://drupal.org/node/400806
It is nesessary to edit a function in tagadelic:

function theme_tagadelic_weighted($terms) {
$output = '';
foreach ($terms as $term) {

$weight = $term->weight; // save the Weight - it may be changed by hooks in taxonomy_term_path()
$output .= l($term->name, taxonomy_term_path($term), array('attributes' => array('class' => "tagadelic level$weight", 'rel' => 'tag'))) ." \n";

}
return $output;
}
I have tested on test and working site.

elyobo’s picture

I have noticed another bug in taxonomy_redirect that possibly causes your problem; I will raise a separate bug to follow it, but essentially the taxonomy_redirect_term_path() resets the weighting calculated by tagadelic by reloading the default weight for the taxonomy term.

You can fix this by changing the top of the taxonomy_redirect_term_path() function from

$t = taxonomy_get_term($term->tid);
$term->name = $t->name;
$term->description = $t->description;
$term->weight = $t->weight;

to be

$t = taxonomy_get_term($term->tid);
if (!isset($term->name)) {
$term->name = $t->name;
}
if (!isset($term->description)) {
$term->description = $t->description;
}
if (!isset($term->weight)) {
$term->weight = $t->weight;
}

agileware’s picture

Status: Patch (to be ported) » Closed (duplicate)

This is a duplicate of #620136: Breaks Tagadelic Weighting, which has now been fixed. A fix was also implemented from the tagadelic end so you should have no trouble now.