Projet

Général

Profil

Paste
Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / field_collection @ 5e632cae

Nom Taille Révision Âge Auteur Commentaire
  ctools 5e632cae environ 3 ans Assos Assos Weekly update of contrib modules
  includes a1cafe7e plus de 4 ans Assos Assos Weekly update of contrib modules
  views 5e632cae environ 3 ans Assos Assos Weekly update of contrib modules
LICENSE.txt 17,7 ko 31a5a6d6 plus de 6 ans Assos Assos Installation of field_collection
README.txt 3,52 ko a1cafe7e plus de 4 ans Assos Assos Weekly update of contrib modules
field-collection-item.tpl.php 1,27 ko 5e632cae environ 3 ans Assos Assos Weekly update of contrib modules
field_collection.admin.inc 1,88 ko 950416da environ 5 ans Assos Assos Weekly update of contrib modules
field_collection.api.php 6,42 ko 5e632cae environ 3 ans Assos Assos Weekly update of contrib modules
field_collection.diff.inc 3,53 ko a1cafe7e plus de 4 ans Assos Assos Weekly update of contrib modules
field_collection.entity.inc 22,8 ko 5e632cae environ 3 ans Assos Assos Weekly update of contrib modules
field_collection.info 680 octets 5e632cae environ 3 ans Assos Assos Weekly update of contrib modules
field_collection.info.inc 1,9 ko 5e632cae environ 3 ans Assos Assos Weekly update of contrib modules
field_collection.install 21,1 ko 5e632cae environ 3 ans Assos Assos Weekly update of contrib modules
field_collection.migrate.inc 5,66 ko 5e632cae environ 3 ans Assos Assos Weekly update of contrib modules
field_collection.module 92,2 ko 5e632cae environ 3 ans Assos Assos Weekly update of contrib modules
field_collection.pages.inc 5,17 ko 5e632cae environ 3 ans Assos Assos Weekly update of contrib modules
field_collection.pathauto.inc 2,36 ko 5e632cae environ 3 ans Assos Assos Weekly update of contrib modules
field_collection.test 51,5 ko 5e632cae environ 3 ans Assos Assos Weekly update of contrib modules
field_collection.theme.css 1,19 ko 5e632cae environ 3 ans Assos Assos Weekly update of contrib modules
field_collection.tokens.inc 5,33 ko 5e632cae environ 3 ans Assos Assos Weekly update of contrib modules

Dernières révisions

# Date Auteur Commentaire
5e632cae 30/12/2020 23:11 Assos Assos

Weekly update of contrib modules

a1cafe7e 04/09/2019 23:34 Assos Assos

Weekly update of contrib modules

950416da 30/01/2019 23:42 Assos Assos

Weekly update of contrib modules

31a5a6d6 03/07/2017 23:31 Assos Assos

Installation of field_collection

Voir les révisions

README


CONTENTS OF THIS FILE

  • Introduction
  • Requirements
  • Installation
  • Configuration
  • Using field collection with entity translation
  • Maintainers

INTRODUCTION

Provides a field collection field to which any number of fields can be attached.

Each field collection item is internally represented as an entity, which is
referenced via the field collection field in the host entity. While
conceptually field collections are treated as part of the host entity, each
field collection item may also be viewed and edited separately.

REQUIREMENTS

This project require the following projects:

INSTALLATION

Install as you would normally install a contributed Drupal. See:
https://drupal.org/documentation/install/modules-themes/modules-7 for further
information.

CONFIGURATION

  • Add a field collection field to any entity, e.g. to a node. For that use the
    the usual "Manage fields" interface provided by the "field ui" project of
    Drupal, e.g "Admin -> Structure -> Content types -> Article -> Manage fields"

  • Then go to "Admin -> Structure-> Field Collection" to define some fields for
    the created field collection.

  • By the default, the field collection is not shown during editing of the host
    entity. However, some links for adding, editing or deleting field collection
    items is shown when the host entity is viewed.

  • Widgets for embedding the form for creating field collections in the
    host-entity can be provided by any module. In future the field collection
    project might provide such widgets itself too.

USING FIELD COLLECTION WITH ENTITY TRANSLATION

  • Field Collection items must be selected as a translatable entity type at
    Admin -> Config -> Regional -> Entity Translation.

  • The common use case is to leave the field collection field untranslatable
    and set the necessary fields inside it to translatable. There is currently
    a known issue where a host can not be translated unless it has at least
    one other field that is translatable, even if some fields inside one of
    its field collections are translatable.

  • The alternate use case is to make the field collection field in the host
    translatable. If this is done it does not matter whether the inner fields
    are set to translatable or not, they will all be translatable as every
    language for the host will have a completely separate copy of the field
    collection item(s).

  • When using nested field collections, the configuration of the fields and
    field collections is very important. The recommended approach is to first
    enable entity translation as defined in step 1, and set the outer
    field collection field as translatable and all its sub-fields to language
    undefined. The sub-field collections and its sub-fields should also be
    set to language undefined. This will ensure that every language of the host
    will have a completely separate copy of the field collection item(s) and
    its fields.

MAINTAINERS

Current maintainers:

Formats disponibles : Atom