Hi,

I plan on using the legend to show colours based on taxonomy..

Each item in the legend is linked to the taxonomy page..

How can I disable this link?

Thanks

Comments

I would also like to know this...

Status:Active» Fixed

You can override the template function that builds the legends. This is a basic Drupal theming technique, please refer to Setting up variables for use in a template (preprocess and process functions) for more information.

Put this in your theme's template.php file, replacing MYTHEME with your theme name:

<?php
function MYTHEME_preprocess_fullcalendar_legend(&$variables) {
  foreach (
element_children($variables['element']) as $type_name) {
   
$variables['element'][$type_name]['type'] = array('#markup' => $variables['element'][$type_name]['type']['#title']);
  }
}
?>

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.