Download the PHP package heimrichhannot/contao-multilingual-fields-bundle without Composer

On this page you can find all versions of the php package heimrichhannot/contao-multilingual-fields-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package contao-multilingual-fields-bundle

Contao Multilingual Fields Bundle

This utility bundle offers functionality for backend editor's to translate arbitrary fields of any table-driven data container in the Contao CMS.

Features

Impressions

The button for editing the languages (right) and the button for showing certain content elements only for the selected language (left, for tl_content only)

Editors can specify which of the fields should be translated for which languages

Use case

The use case for this bundle is to have an automatic and structured process for adding translatable fields to a data container. Also, you get a nice and editor-friendly way to edit translations in the backend ;-)

What doesn't the bundle do?

Currently for most data containers this bundle is a utility bundle for just bringing a nice and editor-friendly way to edit translations in the backend. It's up to you how to use the fields.

Besides tl_content there's no out-of-the-box support for contao's frontend modules!

But you can of course use the created fields in your templates (if the modules passes the data there).

How does it work?

The bundle works quite simply: it looks into your project's <project_dir>/config/config.yml and based on that adds the fields defined here as translatable fields.

Example: Imagine the following config.yml (position is the field representing the job of the member in the company):

This would end up in your DCA being automatically modified the following way:

Installation & configuration

  1. Run composer require heimrichhannot/contao-multilingual-fields-bundle.
  2. Create the file <project_dir>/config/config.yml if not already existing and specify your translatable fields:

  3. Clear the project's cache (<project_dir>/var/cache).
  4. Update the database. The new fields should be created now.

Insert tags

The following new insert tags are available. These take into account the translated jumpTo url and alias.

Name Example
{{mf_news_url::<id>::<language>}} {{mf_news_url::1::de}}
{{mf_event_url::<id>::<language>}} {{mf_event_url::5::es}}
{{mf_faq_url::<id>::<language>}} {{mf_faq_url::8::en}}

All versions of contao-multilingual-fields-bundle with dependencies

PHP Build Version
Package Version
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package heimrichhannot/contao-multilingual-fields-bundle contains the following files

Loading the files please wait ....