Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-9174

CLONE -Error on View using CiviEvent

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 4.0.0, 4.0.1
    • Fix Version/s: 4.1.0
    • Component/s: CiviEvent
    • Labels:
      None

      Description

      I setup an event and included it in a views block on my homepage, however, I am getting the following on any page with civiEvent:

      Notice: Undefined variable: custom_link in civicrm_handler_field_event_link->render_link() (line 132 of /home/whitlock/public_html/sites/all/modules/civicrm/drupal/modules/views/civicrm/civicrm_handler_field_event_link.inc)

      Here is my view export:

      $view = new view;
      $view->name = 'whitlock_events';
      $view->description = 'Upcoming Whitlock Events';
      $view->tag = 'default';
      $view->base_table = 'civicrm_event';
      $view->human_name = 'Whitlock Events';
      $view->core = 7;
      $view->api_version = '3.0-alpha1';
      $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

      /* Display: Master */
      $handler = $view->new_display('default', 'Master', 'default');
      $handler->display->display_options['title'] = 'Events';
      $handler->display->display_options['access']['type'] = 'none';
      $handler->display->display_options['cache']['type'] = 'none';
      $handler->display->display_options['query']['type'] = 'views_query';
      $handler->display->display_options['exposed_form']['type'] = 'basic';
      $handler->display->display_options['pager']['type'] = 'full';
      $handler->display->display_options['pager']['options']['items_per_page'] = '3';
      $handler->display->display_options['style_plugin'] = 'default';
      $handler->display->display_options['row_plugin'] = 'fields';
      /* Field: CiviCRM Events: Title */
      $handler->display->display_options['fields']['title']['id'] = 'title';
      $handler->display->display_options['fields']['title']['table'] = 'civicrm_event';
      $handler->display->display_options['fields']['title']['field'] = 'title';
      $handler->display->display_options['fields']['title']['label'] = '';
      $handler->display->display_options['fields']['title']['alter']['alter_text'] = 0;
      $handler->display->display_options['fields']['title']['alter']['make_link'] = 0;
      $handler->display->display_options['fields']['title']['alter']['absolute'] = 0;
      $handler->display->display_options['fields']['title']['alter']['external'] = 0;
      $handler->display->display_options['fields']['title']['alter']['replace_spaces'] = 0;
      $handler->display->display_options['fields']['title']['alter']['trim'] = 0;
      $handler->display->display_options['fields']['title']['alter']['nl2br'] = 0;
      $handler->display->display_options['fields']['title']['alter']['word_boundary'] = 1;
      $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 1;
      $handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0;
      $handler->display->display_options['fields']['title']['alter']['html'] = 0;
      $handler->display->display_options['fields']['title']['element_label_colon'] = 0;
      $handler->display->display_options['fields']['title']['element_default_classes'] = 1;
      $handler->display->display_options['fields']['title']['hide_empty'] = 0;
      $handler->display->display_options['fields']['title']['empty_zero'] = 0;
      $handler->display->display_options['fields']['title']['link_to_civicrm_event'] = 'registration';

      /* Display: Block */
      $handler = $view->new_display('block', 'Block', 'block');
      $translatables['whitlock_events'] = array(
      t('Master'),
      t('Events'),
      t('more'),
      t('Apply'),
      t('Reset'),
      t('Sort by'),
      t('Asc'),
      t('Desc'),
      t('Items per page'),
      t('- All -'),
      t('Offset'),
      t('Block'),
      );

        Attachments

          Activity

            People

            • Assignee:
              jalama Jim Taylor
              Reporter:
              jefromcanada Jack Eisenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: