Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: How do I use publisher’s translated categories in Solspace’s Calender-Tag?

Status Resolved
Add-on / Version Publisher 2.10.1
Severity
EE Version 4.3.6

Matthias Ballmann

Oct 13, 2018

hi brian,

we are currently developing a museum’s website – and it uses publisher for all multilingual purposes and calender for managing the events, especially the recurring ones.
this has caused the problem that it seems that cannot use the Publisher tag for the categories within exp📆events.

Is that correct?
Do you have any experience with that?

this was our normal ee-code before implenting calender (which was mainly for reccurring events):

{if has_categories}
	{categories}
		<h4>{exp:publisher:translate_category cat_id="{category_id}" return="cat_name"}</h4>
<p>	{/categories}<br />
{/if}

this is our code inside the calender-tag, the defunct publisher-tag commented out:

{exp:calendar:events channel="veranstaltungen|fuehrungen" date_range_start="today" date_range_end="6 months" status="not closed" limit="20" paginate="bottom"}
	{calendar:categories}
		<h4>{calendar:category_name}</h4>
<p>		<!--<h4>{exp:publisher:translate_category cat_id="{category_id}" return="cat_name"}</h4>--><br />
	{/calendar:categories}<br />
{/exp:calendar:events}

do you have any ideas how to get the translated categories work?


thank you very much,
kindest regards,
matthias

#1

BoldMinded (Brian)

I don’t know much about Calendar, but from the looks of it have you tried {exp:publisher:translate_category cat_id=”{calendar:category_id}” return=”cat_name”}??

#2

Matthias Ballmann

wow, you’re cool – it works 😊 thank you very much for this quick help!

kindest regards, matthias

Login to reply