4 Comments

  1. Although it works, it would be better to do this in your theme, instead of in the module code. Remember: Override, don’t change.
    Using PHPTemplate an possible function would be:
    title, “node/$node->nid”, array(‘title’ => $node->title));
    if ((count(event_get_types(‘all’)) + count(event_get_types(‘solo’))) > 1) {
    $output .= ”. t(“($node->typename)”) .”;
    }
    if($node->timeleft != t(‘Now’)) {
    $output .= ‘(starts in ‘. $node->timeleft .’)’;
    } else {
    $output .= ‘(‘. $node->timeleft .’)’;
    }
    return $output;
    }
    ?>
    Hope that helps.

    Rolf van de Krol

  2. Joe (spammy nickname removed) Peters

    I actually prefer it in the “15 days” way – looks less computerized

Comments are closed.