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

Expose upcoming civicrm events in a Drupal block that administers can expose as needed

    Details

    • Type: New Feature
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.1
    • Component/s: CiviEvent
    • Labels:
      None

      Description

      We will expose a Drupal block - "CiviCRM Upcoming Events". When enabled - this block will display a listing of public events with start date >= today. The block includes event title (linked to event info page), event summary (truncated to 80 characters), and start date.

      Default block title is "Upcoming Events" - this can be over-ridden by setting a title in Drupal admin -> configure block. The block can be displayed on any page in your Drupal site. It will NOT be displayed if CiviEvent component is not enabled. User roles need to have the 'view event info' permission to see the block (enable this permission for anonymous if you want anonymous visitors to see the block).

      You can create a custom copy of template/CRM/Block/Event.tpl is you want to modify format or change what event elements are included.

        Attachments

          Activity

            People

            • Assignee:
              sunil Sunil Pawar
              Reporter:
              lobo Donald A. Lobo
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: