Author:
xander_group
Version:
1.0beta
Released:
14 December 2011
Category:
Field Types, and Multilingual

Description

Field: Multilingual Image upload

The multilingual version of the entry url field.

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 my Articles Section with a Multilingual text field called Title. Given an Articles Page with an URL param pointing to Title, 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

Repository

https://github.com/vlad-ghita/multilingual_entry_url

Discuss this Extension

Compatibility

2.7.10 Unsure
2.7.9 Unsure
2.7.8 Unsure
2.7.7 Unsure
2.7.6 Unsure
2.7.5 Unsure
2.7.4 Unsure
2.7.3 Unsure
2.7.2 Unsure
2.7.1 Unsure
2.7.0 Unsure
2.6.11 Unsure
2.6.10 Unsure
2.6.9 Unsure
2.6.8 Unsure
2.6.7 Unsure
2.6.6 Unsure
2.6.5 Unsure
2.6.4 Unsure
2.5.4 Unsure

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details