If the display format for the date field is modified to anything other than 'default' then the edit and delete links are not displayed.

It appears that the hook_theme_registry_alter function only overrides the settings for date_formatter_default.

function date_repeat_instance_theme_registry_alter(&$registry) {
  // Override theme function which display date combinations.
  $registry['date_formatter_default']['path'] = drupal_get_path('module', 'date_repeat_instance');
  $registry['date_formatter_default']['file'] = 'date_repeat_instance.theme';
  $registry['date_formatter_default']['function'] = 'theme_date_repeat_instance_date_display_combination';
}

If I change the display to the long format, I have to replace date_formatter_default with date_formatter_long for the theme override to occur.

I'm not sure if #1369002: Where do the edit and delete links appear? is also due to this since that issue is for D7.

Comments

joelstein’s picture

Status: Active » Fixed

Good catch! Fixed and committed:
http://drupal.org/commitlog/commit/17454/fb5b08b1b170646ed4671d393c91784...

It's probably an issue on D7, too, so I'll commit a fix shortly to that version, as well.

joelstein’s picture

Status: Fixed » Closed (fixed)

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