Author:
vladG
Version:
1.0
Released:
22 June 2012
Category:
Field Types, and Multilingual

Description

1 About

The multilingual version of URL field.

2 Installation

Dependencies:

  1. Install URL field if it's not already installed.
  2. Install Multilingual Entry URL if it's not already installed.

This extension:

  1. Upload the multilingual_url_field folder in this archive to your Symphony extensions folder.
  2. On Extensions page in Admin, install it by selecting Field: Multilingual URL, choose Enable/Install from the With Selected menu, then click Apply.
  3. The field will be available in the list when creating a Section.

3 Usage

1_ Add a Multilingual Entry URL field named View on site to Section A (I assume you have a Multilingual Text box with name = Title):

Set a slick value for Anchor Label: {entry/title/item[ @lang='$language_code' ]}
Set a slick value for Anchor URL: /entries/{entry/title/item[ @lang='$language_code' ]/@handle}

2_ Create some entries in Section A.

3_ Go to Section B and add Multilingual URL field to it. In Values select choose View on site from Section A.

4_ Create an entry in Section B. You can swtich between Internal and External links. Internal select will be populated with all entries from Section A in current language of the Author.

For External links, the value must be a valid URI.

If you don't select any sections in field settings, the field will accept only External links.

Repository

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

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