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: {exp:publisher:languages} unable to sort and display the order of the languages

Status Resolved
Add-on / Version Publisher 1.6.7
Severity
EE Version EE v2.10.1 - Build Date: 20150501

Barbara Cinotti

Oct 08, 2015

Hi Brian,

I’ve tried to list my languages toolbar with langs in a specific order (IT - EN - ZH) using the “sort” parameter, but it seems to have no effect, the order doesn’t change.

I have this code and in attachment my publisher languages settings.

<ul>
{exp:publisher:languages sort="2|1|3"}
 <li><a href="{switch_language_url}">{short_name}</a></li>
{/exp:publisher:languages}
</ul>

It always output IT - ZH - EN, it seems that it sorts for language name instead of ID language.
Maybe I’m missing something.

Thanks in advance for your help.

Barbara

 

#1

BoldMinded (Brian)

Try order=”2|1|3”

#2

Barbara Cinotti

Thanks Brian for your fast reply!

It works with order …!

Thanks

Barbara

Login to reply