Here is the situation. I have two channels; one is "calendar_events" and the other one is "projects" and there is a relationship field, "event_related_project" to relate that particular event to a specific project.

<h4 class="project_tagline">{project_tagline}</h4>
            <section class="related-activities">
            <h3 class="related-title">Related Events</h3>
            {parents field="event_related_project" orderby="date" }
                {if parents:no_results}
                <p class="note-message">No related events are found.</p>
                <li><a href="{path='event/view'}/{parents:entry_id}/">{parents:title}</a> / {event_start_date format="%F %d, %Y"}</li>

            <h3 class="related-title-news">Related News</h3>
            {parents field="news_related_project" orderby="date" limit="3"}
            {if parents:no_results}
            <p class="note-message">No related news are found.</p>
            <li><a href="{title_permalink='news/view'}">{parents:title} / {parents:entry_date format="%F %d, %Y"}</a></li>

It can display all the related events under a specific project but I cannot display the "event_start_date". I also tried to make the list wrapped by the {exp:calendar:events} pair tag but the result does not show correctly. May someone help? Thanks, Chris

1 Answer 1


Try passing the event_id to an embedded template to a calendar:events tag. Which you would use to display the date.

something like:

{embed="my_date_template" event_id="{parents:entry_id}"}

then, your embedded template:

{exp:calendar:events event_id="{embed:event_id}"}
{event_start_date format="%F %d, %Y"}
  • For Calendar 3.1.0, as the parameter of event_id is not available for use, what alternative approach will you suggest for the same result? Dec 24, 2018 at 3:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.