In the function taxonomy_context_show_children(), there is a line:

$params = array("title" => t("View this section"));

This line should be changed to:

$params = array("title" => t($term->description ? $term->description : "View this section"));

This way, if someone has taxonomy descriptions, they would be shown on mouse hover, otherwise 'View this section' will be displayed instead.

Comments

nedjo’s picture

Thanks, I've changed this to

 $params = array("title" => $term->description ? strip_tags(node_teaser($term->description)) : t("View this section"));

(to ensure a short and tag-free title) and applied it.

nedjo’s picture

Anonymous’s picture