- 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 12:02pm 29 March 2024 - πΊπΈ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_imageThe 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.