mkp_if_en
This conditional tag examines the url of the current page and determines if the url begins with ‘en.’ This allows for a custom page to be rendered in English.
Links
mkp_if_en
Attributes
None
Examples
You will want something similar to this in your error template to display the alternative formatting.
<txp:mkp_if_en>
<txp:smd_if field="txpvar:target_article" operator="isused">
[individual article page header design]
<txp:article_custom form="[article form]" id='<txp:variable name="target_article" />' />
[individual article page footer design]
<txp:else />
[section page header design]
<txp:article_custom form="[article form]" section='<txp:variable name="target_section" />' />
[section footer design]
<txp:else />
[standard error page code]
</txp:_mkp_if_en>
Release History
Version 1.1: November 2nd, 2016 (added the variables)
Version 1.0: November 1st, 2016