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: Can’t translate category custom fields
Status | Resolved |
Add-on / Version | Publisher 2.7.3 |
Severity | |
EE Version | 3.5.15 |
Edoardo Stefani
Feb 15, 2018I try to get translated category custom field but Publisher doesn’t find them…
{exp:channel:categories style="linear" show='{last_segment_category_id}'}
<title>{phrase:seo-macc-usate-title} - {exp:publisher:translate_category cat_id='{last_segment_category_id}' return='cat_name'}</title>
<meta name="description" content="{exp:publisher:translate_category cat_id='{last_segment_category_id}' return='[seo_cat_description]'}" />
{/exp:channel:categories}
All default parameters of {exp:publisher:translate_category} tag are outputted. But I can’t fetch any category custom fields.
I try to use all brackets in any combination 😊
Are any errors in my code? Can you suggest me a solution?
BoldMinded (Brian)
Did you try using the tag on its own with hard-coded category id? e.g. {exp:publisher:translate_category cat_id=”1” return=”cat_name”}
Edoardo Stefani
I did right now. None of the following returns {cat_seo_description}
BoldMinded (Brian)
cat_seo_description is a custom field. Does it return cat_name, which is a default/native field?
Edoardo Stefani
Yes, using default/native field it does!
BoldMinded (Brian)
Ok. I’ll try to see if I can replicate this locally.
BoldMinded (Brian)
Seems this has been a bug since the first release of Publisher 2. Oops.
BoldMinded (Brian)
Comment has been marked private.
Edoardo Stefani
Comment has been marked private.