Been wrorking on the the taxonomy_html module.
A small module providing layout etc for the taxonomy.



When the block belonging to the module is placed, the links in the block are wrong.



they link to: http://server/index.php?or=number

(where numer is the number of the taxo)
this should be:

http://server/module.php?mod=node&or=number



one can find it on line 21 of taxonmy_html.module:

    $out .= _taxonomy_depth($term->depth, "&nbsp")."·". l(check_output($term->name), array ("or" => $term->tid), "index", "", array("title" => $term->description));




i changed it in:



$out .= _taxonomy_depth($term->depth, "&nbsp")."·". l(check_output($term->name), array ("mod=node&or" => $term->tid), "module", "", array("title" => $term->description));



But I'm not sure how things work here. I'm very new to Drupal and its community.



Regards Ber

Comments

ax’s picture

did you read the INSTALL? it says:

This module currently has no maintainer. It has been deprecated in favor of the taxonomy_dhtml module.

so please check if you get the same error with the taxonomy_dhtml.module (make sure to get the one with the proper DRUPAL-4-1-0 tag). i think it fixes it, so i mark this bug as fixed. if it doesn't, reopen this bug; if it does, please close it.

alternatively, you may "maintain" the taxonomy_html.module: if you haven't got it yet, apply for contributions CVS access (hope this works ...), and commit your fix. i suggest to check the changes in taxonomy_dhtml.module which fixes the same problem to see if you are doing it right. make sure to use the proper branch(es) for your changes.

Anonymous’s picture

Priority: Major » Normal