0

I have both Solspace calendar & tag plugin and I trying to create a page that lists all calendar entries that have a particular tag. I have the calendar event with a tag field but when i try and search for them i get everything.

any pointers would be greatly appreciated

1
  • Pls post up some simplified code you're using to help us help you. Apr 6, 2017 at 1:20

1 Answer 1

0

One way you could go about it is to use the {exp:tag:entries} tag to get a list of entry_id's to feed to the {exp:calendar:events} tag.

i. e.

{exp:calendar:events
event_id="{exp:tag:entries tag="{segment_3}" backspace="1"}{entry_id}|{exp:tag:entries}"
}
{title}
{/exp:calendar:events}

or something like that. Versions of EE, Tag, and Calendar?

2
  • thanks for the code example i finally had a chance to get back to this, but the code still returns all the entries. {exp:calendar:events calendar_id="12329" date_range_start="today" show_months="12" dynamic="off" status="open" orderby="event_start_date" sort="asc" event_id="{exp:tag:entries tag="{last_segment}" inclusive="no" tag_group_name="calTags"}{entry_id}{/exp:tag:entries}"} Nov 2, 2017 at 14:56
  • Sorry should have included this info: ExpressionEngine v2.9.2, Calendar 1.8.14, Tag 4.2.9 Nov 2, 2017 at 15:02

Your Answer

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

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