Add helpful fields to import data parameters

Created on 21 March 2024, 9 months ago
Updated 24 April 2024, 8 months ago

Add helpful fields to import data parameters

Also any way to add additional helpful fields ie. roomName, registration, registrationOpens, eventContact, privateEvent

GET /v3/attend/events/{eventId}

{
"eventId": 0,
"recurringId": 0,
"title": "string",
"subTitle": "string",
"status": "string",
"modified": "string",
"newEventId": "string",
"eventStart": "string",
"eventEnd": "string",
"eventLastUpdated": "string",
"shortDescription": "string",
"description": "string",
"setupTime": 0,
"breakdownTime": 0,
"parentRoomId": 0,
"locationId": 0,
"locationName": "Falltown branch",
"roomId": 0,
"roomName": "Large meeting room",
"venueType": "string",
"externalVenueName": "string",
"externalVenueDescription": "string",
"externalVenueRoom": "string",
"eventContact": "string",
"globalFeatured": true,
"branchFeatured": true,
"featuredImage": "/images/featured.jpg",
"registration": true,
"publishDate": "string",
"registrationOpens": "string",
"registrationCloses": "string",
"privateEvent": true,
"minAge": 0,
"maxAge": 0,
"waitlist": true,
"maxWaitlist": 0,
"totalWaitlist": 0,
"maxAttendees": 0,
"totalRegistrants": 0,
"eventImage": "string",
"eventImageAltText": "string",
"types": {},
"ages": {},
"reportingCategory": "string",
"searchTags": {},
"customQuestions": {},
"attendance": {},
"eventNotes": "string",
"staffOnly": true,
"eventRegistrationUrl": "string",
"thirdPartyRegistration": true,
"eventType": "string",
"seriesIds": {},
"forceSeriesRegistration": true,
"wholeSeriesOnly": true
}

✨ Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States earlyburg

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @earlyburg
  • πŸ‡ΊπŸ‡ΈUnited States earlyburg

    Hello,
    This feature request has been worked on and is available in the latest release:

    https://www.drupal.org/project/communico_plus/releases/1.0.0-beta13 β†’

    Thank you for using Communico Plus.

  • Status changed to Fixed 9 months ago
  • πŸ‡ΊπŸ‡ΈUnited States earlyburg
  • πŸ‡ΊπŸ‡ΈUnited States jgoodwill01

    I'm having trouble implementing these updates.

    "This release adds Twig templating to the Event and Reservation pages. In addition the entire data available from calls to the Communico API are now available at the theme layer."

    Any suggestions on working this theme layer into views and fields for use in display manager? Sorry for my novice but using one of the templates in my theme and applying it to the output for "node--event-page.html.twig" I'm not getting any data but am getting the output fields.

    All our other content we run through "Layout Builder" to customize field display is that configurable?

    <!-- BEGIN OUTPUT from 'themes/custom/lpl_b4subtheme/templates/communico/node--event-page.html.twig' -->
    <h1 class="page-title">
      
    </h1>
    <h2 class="node__title">
      
    </h2>
    <div class="c-feature">
      <div class="c-iconimage">
        <img src="" alt="Map pin icon">
      </div>
        <a href="" target="_new"></a>
    </div>
    <br>
    <div class="c-feature">
      <div class="c-iconimage"><img src="" alt="Calendar Icon"></div>
      
    </div>
    <br>
    <div class="c-feature">
      <div class="c-title">Age Group:</div> 
    </div>
    <br>
    <div class="c-feature">
      <div class="c-title">Event Type:</div> 
    </div>
    <br>
    <div class="c-feature">
    <a href="" target="_new">
    <div id="event-sub-button">Register</div>
    </a>
    </div>
    <p>
      
    </p>
    
    <!-- END OUTPUT from 'themes/custom/lpl_b4subtheme/templates/communico/node--event-page.html.twig' -->

    Thanks for all your help. Looking forward to getting something functioning and in production one day.

  • πŸ‡ΊπŸ‡ΈUnited States earlyburg

    Greetings,
    This feature request was to provide complete data for the event pages viewable at '/event/{eventId}'

    https://github.com/earlyburg/communico_plus/blob/1.0.x/templates/communi...

    * Available variables:
    * - event_data (An array containing all event data.)
    * - expire_date
    * - branch_link
    * - calendar_image_path
    * - map_pin_image_path
    * - reg_url
    * - expired_text
    * - description
    * - one_image

    The functionality that you are requesting is for nodes.
    I have created a feature request to upgrade node content fields here:

    https://www.drupal.org/project/communico_plus/issues/3432825 ✨ Create a way to import images into event pages from API Active

    Moving your comments and request for assistance to the feature request to upgrade the event content type.
    Thank you

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

Production build 0.71.5 2024