Login / Status
developer.Resource
Home . Documentation . Document Library . Extension Manuals
Sponsors
hosted by punkt.deTYPO3 and Open Source MagazineAOE Media

1.2. Configuration

This extension requires no configuration, simply install it using the extension manager. However, if you wish to use the new field type “file_references” for your own extension, just configure it like other “group” fields (e.g. as created by the kickstarter) and set the internal_type to “file_references”.

Example configuration:

    "tx_emreferences_filereferences" => Array (
        "exclude" => 1,
        "label" => "LLL:EXT:em_references/locallang_db.xml:tt_content.tx_emreferences_filereferences",
        "config" => Array (
            "type" => "group",
            "internal_type" => "file_references",
            "allowed" => $GLOBALS["TYPO3_CONF_VARS"]["GFX"]["imagefile_ext"],
            "max_size" => 1000,
            "show_thumbs" => 1,
            "size" => 3,
            "minitems" => 0,
            "maxitems" => 10,
        )

    ),

All options that are valid for the other interal_types of the “group” field documented in the TYPO3 Core API are valid for the new interal_type “file_references” as well.