PHP-Code:
<?php
return array(
'label' => array(
'de' => array(
'Firmenprofil',
'Eine Liste von Firmen mit Logo, 6 Bildern, Name, Adresse, E-Mail und Social-Media-Links und einem Text',
),
'en' => array(
'Staff',
'A list of employees with picture, name email and social media links',
),
),
'types' => array('content'),
'contentCategory' => 'texts',
'fields' => array(
'members' => array(
'label' => array(
'de' => array(
'Firma',
'Fügen Sie eine beliebige Anzahl an Firmen hinzu.',
),
'en' => array(
'Members',
'Add any number of employees.',
),
),
'elementLabel' => array(
'de' => 'Firmen %s',
'en' => 'Employee %s',
),
'inputType' => 'list',
'fields' => array(
'image' => array(
'label' => array(
'de' => array('Logo', ''),
'en' => array('Profile picture', ''),
),
'inputType' => 'fileTree',
'eval' => array(
'fieldType' => 'radio',
'filesOnly' => true,
'extensions' => 'jpg,jpeg,png,gif,svg',
),
),
'name' => array(
'label' => array(
'de' => array('Firmenname', 'Name des Betriebs'),
'en' => array('Name', 'First and last name of employee'),
),
'inputType' => 'text',
'eval' => array('tl_class' => 'w100'),
),
'firmenprofil' => array(
'label' => array(
'de' => array('Firmenprofil', 'Gelieferter Text des Unternehmens'),
'en' => array('Name', 'First and last name of employee'),
),
'eval' => array('rte' => 'tinyMCE'),
'inputType' => 'textarea',
),
'email' => array(
'label' => array(
'de' => array('E-Mail', 'E-Mail-Addresse des Unternehmens'),
'en' => array('Email', 'Email address of employee'),
),
'inputType' => 'text',
'eval' => array('tl_class' => 'w100'),
),
'socials' => array(
'label' => array(
'de' => array(
'Social-Media-Profile',
'Fügen Sie eine beliebige Anzahl an Social-Media-Profilen ein.',
),
'en' => array(
'Social media profiles',
'Add any number of social media profiles.',
),
),
'elementLabel' => array(
'de' => '%s. Social-Media-Profil',
'en' => '%s. social media profile',
),
'inputType' => 'list',
'fields' => array(
'platform' => array(
'label' => array(
'de' => array('Social-Media-Plattform', ''),
'en' => array('Social media platform', ''),
),
'inputType' => 'select',
'options' => array(
'facebook' => 'Facebook',
'twitter' => 'Twitter',
'gplus' => 'Google+',
),
'eval' => array('tl_class' => 'w50'),
),
'url' => array(
'label' => array(
'de' => array('Link', 'URL zur Profilseite auf der Social-Media-Plattform'),
'en' => array('Link', 'URL of the social media profile'),
),
'inputType' => 'text',
'eval' => array('tl_class' => 'w50'),
),
),
),
),
),
),
);
Vielen vielen dank für jegliche Hilfestellung.
Lesezeichen