Hi Nancy!

I just have to use this opportunity to state how this is really awesome Drupal module! :)

...about problem:

When I enable option 'Make vocabularies collapsible' on TB admin page, and try to use TB I got this warning message:

And there is nothing beneath warning message, no content (nodes of selected taxonomy terms) is displayed. :(

If you need more information regarding this issue just let me know.

Tnx in advance.

--
m.m

P.S.
And one off topic feature request: Is it possible to achieve so there is option to set that vocabularies are expanded/collapsed by default (they are collapsed by default)? Or yet better, it would be superb if collapse/expand condition could be saved in session variable (or smtng like that). I can create new feature request if this is possible.

Comments

ken.lancaster’s picture

I am having the same issue with this module. It is a great module. It would also be great if it were possible to duplicate this module within a site so that I could have several taxonomy browser modules set for different settings. Anyway, would appreciate if this current issue is resolved. Thanks. Awesome job!!!

no2e’s picture

Same problem here.

nancydru’s picture

Status: Active » Closed (duplicate)
sbrodolo’s picture

i had the sam issue

i've modified the following function and now it works

function _taxonomy_browser_get_tid_list($tids = NULL, $include_children = FALSE) {
static $tid_list;

if (isset($tids) && is_array($tids)) {
$tid_list = array();
foreach ($tids as $key => $tid) {
if (!empty($tid)) {
if (is_array($tid)) {
foreach ($tid as $key2 => $tid2) {
if (!empty($tid2)) {
----------------------------------TEXT MODIFIED BEGIN----------------------------------------------------------
if (is_array($tid2)) {
foreach ($tid2 as $key3 => $tid3) {
if (!empty($tid3)) {
$tid_list[$tid3] = $tid3;
}
}
} else {$tid_list[$tid2] = $tid2;}
-----------------------------------TEXT MODIFIED END ---------------------------------------------------------
}
}
}
else {
$tid_list[$tid] = $tid;
}
} /* end !empty */
} /* end foreach */
}

if ($include_children) {
foreach ($tid_list as $tid) {
_taxonomy_browser_get_kids($tid_list, $tid);
}
}

return $tid_list;
}

Nitesh Singh’s picture

Hi @ sbrodolo

above code works fine

Thanks
Nitesh Singh

nancydru’s picture

Status: Closed (duplicate) » Active
fabrizioprocopio’s picture

Hi I got the same problem, but I'm not a coder
can someone help me where copy and paste the code you posted?