Twig

This page is a WiP


{# This is not available as variables #}
{{ exp.publisher.toolbar | raw }}

{# This is not available as variables. If you need to build a custom switcher, use the exp.publisher.languages tag. #}
{{ exp.publisher.switcher | raw }}

<ul>
{% for language in exp.publisher.languages %}
    <li><a href="{{ language.translated_url }}">{{ language.long_name }}</a></li>
{% endfor %}
</ul>

{% set category = exp.publisher.translate_category.cat_id('4') %}

{# {{ global.phrase.[phrase name] }} #} e.g.
{{ global.phrase.language_en }}
{{ global.phrase.delta }}

{{ global.publisher.current_language_code }}
{{ global.publisher.current_language_id }}
{{ global.publisher.default_language_code }}
{{ global.publisher.default_language_id }}
{{ global.publisher.current_language_prefix }}
{{ global.publisher.current_locale }}
{{ global.publisher.is_draft }}
{{ global.publisher.is_default_language }}
{{ global.publisher.reserved_category_word }}
{{ global.publisher.entry_status }}
{{ global.publisher.current_url }}
{{ global.publisher.current_uri }}
{{ global.publisher.segment_1 }}
    ...
{{ global.publisher.segment_9 }}
{{ global.publisher.last_segment }}
{{ global.publisher.canonical_url }}

Last updated