Created
August 19, 2016 19:50
-
-
Save Bjoelin/d103402743bc208bffe4c4ea01d49721 to your computer and use it in GitHub Desktop.
TYPO3 - TCA Input Field Rendering Example - Side by Side Select Fields
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'ps_blog_tags' => array( | |
'exclude' => 0, | |
'label' => 'LLL:EXT:xxx/Resources/Private/Language/locallang_db.xlf:tx_xxx_domain_model_post.tags', | |
'config' => array( | |
'type' => 'select', | |
'renderType' => 'selectMultipleSideBySide', | |
'foreign_table' => 'tx_xxx_domain_model_tag', | |
'MM' => 'tx_xxx_post_tag_mm', | |
'size' => 10, | |
'autoSizeMax' => 30, | |
'maxitems' => 9999, | |
'multiple' => 0, | |
'wizards' => array( | |
'_PADDING' => 1, | |
'_VERTICAL' => 1, | |
'edit' => array( | |
'module' => array( | |
'name' => 'wizard_edit', | |
), | |
'type' => 'popup', | |
'title' => 'Edit', | |
'icon' => 'edit2.gif', | |
'popup_onlyOpenIfSelected' => 1, | |
'JSopenParams' => 'height=550,width=580,status=0,menubar=0,scrollbars=1', | |
), | |
'add' => Array( | |
'module' => array( | |
'name' => 'wizard_add', | |
), | |
'type' => 'script', | |
'title' => 'Create new', | |
'icon' => 'add.gif', | |
'params' => array( | |
'table' => 'tx_xxx_domain_model_tag', | |
'pid' => '###CURRENT_PID###', | |
'setValue' => 'prepend' | |
), | |
), | |
), | |
), | |
), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
has 2 additional wizards for adding and editing existing objects / items