Field: Multilingual Entry URL
Multilingual version of Entry URL Field
Description
Field: Multilingual Image upload
The multilingual version of the entry url field.
- Version: 1.0beta
- Build Date: 2011-12-14
- Authors:
- Xander Group
- Vlad Ghita
- Requirements:
- Symphony 2.0 or above
- Entry URL Field at least version 1.1
- Page LHandles at least version 2.1
- Frontend Localisation at least version 0.4beta
Thank you all other Symphony & Extensions developers for your inspirational work.
1 About
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:/members/profile/{entry/name/@handle}/
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/{//title/@*[name() = concat('handle-', $language_code)]}/ --> 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