Commit de2b8b00 authored by Boris Schauer's avatar Boris Schauer
Browse files

Merge branch '11-unable-to-create-new-platinum-member-banner' into 'master'

Resolve "Unable to create new platinum member banner"

Closes #11

See merge request t3o/randombanners!8
parents 71c87072 da18a857
...@@ -59,7 +59,7 @@ return [ ...@@ -59,7 +59,7 @@ return [
'l10n_parent' => [ 'l10n_parent' => [
'displayCond' => 'FIELD:sys_language_uid:>:0', 'displayCond' => 'FIELD:sys_language_uid:>:0',
'exclude' => true, 'exclude' => true,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent', 'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.l18n_parent',
'config' => [ 'config' => [
'type' => 'select', 'type' => 'select',
'renderType' => 'selectSingle', 'renderType' => 'selectSingle',
...@@ -78,7 +78,7 @@ return [ ...@@ -78,7 +78,7 @@ return [
] ]
], ],
't3ver_label' => [ 't3ver_label' => [
'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.versionLabel', 'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.versionLabel',
'config' => [ 'config' => [
'type' => 'input', 'type' => 'input',
'size' => 30, 'size' => 30,
...@@ -87,7 +87,7 @@ return [ ...@@ -87,7 +87,7 @@ return [
], ],
'hidden' => [ 'hidden' => [
'exclude' => true, 'exclude' => true,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', 'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.hidden',
'config' => [ 'config' => [
'type' => 'check', 'type' => 'check',
'default' => 0 'default' => 0
...@@ -180,17 +180,18 @@ return [ ...@@ -180,17 +180,18 @@ return [
'readOnly' => 1, 'readOnly' => 1,
], ],
], ],
'member' => array( 'member' => [
'exclude' => 0, 'exclude' => 0,
'label' => 'LLL:EXT:t3o_membership/Resources/Private/Language/locallang_db.xlf:tx_t3omembership_domain_model_member', 'label' => 'LLL:EXT:t3o_membership/Resources/Private/Language/locallang_db.xlf:tx_t3omembership_domain_model_member',
'config' => array( 'config' => [
'type' => 'select', 'type' => 'select',
'renderType' => 'selectSingle',
'items' => [['none', 0]], 'items' => [['none', 0]],
'foreign_table' => 'tx_t3omembership_domain_model_member', 'foreign_table' => 'tx_t3omembership_domain_model_member',
'foreign_table_where' => 'tx_t3omembership_domain_model_member.membership=1', 'foreign_table_where' => 'tx_t3omembership_domain_model_member.membership=1',
'minitems' => 0, 'minitems' => 0,
'maxitems' => 1, 'maxitems' => 1,
), ],
), ],
], ],
]; ];
\ No newline at end of file
...@@ -16,7 +16,7 @@ CREATE TABLE tx_randombanners_domain_model_banner ( ...@@ -16,7 +16,7 @@ CREATE TABLE tx_randombanners_domain_model_banner (
tstamp int(11) DEFAULT '0' NOT NULL, tstamp int(11) DEFAULT '0' NOT NULL,
crdate int(11) DEFAULT '0' NOT NULL, crdate int(11) DEFAULT '0' NOT NULL,
cruser_id int(11) DEFAULT '0' NOT NULL, cruser_id int(11) DEFAULT '0' NOT NULL,
deleted tinyint(4) DEFAULT '0' NOT NULL, deleted tinyint(4) DEFAULT '0' NOT NULL,
hidden tinyint(4) DEFAULT '0' NOT NULL, hidden tinyint(4) DEFAULT '0' NOT NULL,
starttime int(11) DEFAULT '0' NOT NULL, starttime int(11) DEFAULT '0' NOT NULL,
...@@ -36,7 +36,7 @@ CREATE TABLE tx_randombanners_domain_model_banner ( ...@@ -36,7 +36,7 @@ CREATE TABLE tx_randombanners_domain_model_banner (
sys_language_uid int(11) DEFAULT '0' NOT NULL, sys_language_uid int(11) DEFAULT '0' NOT NULL,
l10n_parent int(11) DEFAULT '0' NOT NULL, l10n_parent int(11) DEFAULT '0' NOT NULL,
l10n_diffsource mediumblob NOT NULL, l10n_diffsource mediumblob NOT NULL,
l10n_state text NOT NULL, l10n_state text DEFAULT NULL,
PRIMARY KEY (uid), PRIMARY KEY (uid),
KEY parent (pid), KEY parent (pid),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment