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: CE cache on language chooser doesn’t function
Status | Resolved |
Add-on / Version | Publisher 1.2.3 |
Severity | Trivial |
EE Version | 2.7.3 |
Images |
E2services
May 27, 2014Hi,
I’m trying to use CE cache with the tag: {exp:ce_cache:it url_prefix="{publisher:current_language_code}”}.
The problem though is the when Ce Cache is active the language switcher don’t work. I can select a different language, the URL changes to the selected language but the content stays untouched (the previous selected language)
This is the code I’m using for the language switcher:
<ul class="language">
<!-- currently active language -->
{exp:publisher:languages}
{if "{is_active}" =="1"}
<li><img src="{root_url}themes/third_party/publisher/images/flags/{short_name}.png" alt="nl" width="16" height="11" margin-right: 2px;"> <span>{long_name}</span> | </li>
{/if}
{/exp:publisher:languages}
<!-- select alternative language -->
<li class="dropdown">
<a data-toggle="dropdown" href="#">{phrase:change_language}</a>
<ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
{exp:publisher:languages}
<li><a href="{switch_language_url}"><img src="{root_url}themes/third_party/publisher/images/flags/{short_name}.png" width="16" height="11" alt="flag" margin-right: 10px;">{long_name}</a></li>
{/exp:publisher:languages}
</ul>
<p> </p>
</li>
BoldMinded (Brian)
Sounds like you need to ignore that block of code with CE’s ignore tag.
BoldMinded (Brian)
Marking this resolved as it is most certainly an issue with the usage of CE Cache.