The multilingual version of the entry url field.
When adding this field to a section, the following options are available to you:
-
Anchor Label is the text used for the hyperlink in the backend
-
Anchor URL is the URL of your entry view page on the frontend. An
<entry id="123">...</entry>
nodeset is provided from which you can grab field values, just as you would from a datasource. For example:{entry/title/item[@lang='$language_code']}
-
For
Multilingual Text
, you can use$language_code
(without{}
) as a placeholder for language codes. It will be replaced for each language on URL generation.
Let's say myArticles
Section with aMultilingual text
field calledTitle
. Given anArticles
Page with an URL param pointing toTitle
, an expression like this must be used:/articles/{entry/title/item[@lang='$language_code']/@handle}/ --> make sure you know the XML output of Multilingual Text
-
Open links in a new window enforces the hyperlink to spawn a new tab/window
-
Hide this field on publish page hides the hyperlink in the entry edit form
Currently the URL is generated this way:
/__LANGUAGE-CODE__/URL
- Upload the 'multilingual_entry_url' folder in this archive to your Symphony 'extensions' folder.
- Enable it by selecting the "Field: Multilingual Entry URL", choose Enable from the with-selected menu, then click Apply.
- The field will be available in the list when creating a Section.