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 [
'l10n_parent' => [
'displayCond' => 'FIELD:sys_language_uid:>:0',
'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' => [
'type' => 'select',
'renderType' => 'selectSingle',
......@@ -78,7 +78,7 @@ return [
]
],
't3ver_label' => [
'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.versionLabel',
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.versionLabel',
'config' => [
'type' => 'input',
'size' => 30,
......@@ -87,7 +87,7 @@ return [
],
'hidden' => [
'exclude' => true,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.hidden',
'config' => [
'type' => 'check',
'default' => 0
......@@ -180,17 +180,18 @@ return [
'readOnly' => 1,
],
],
'member' => array(
'member' => [
'exclude' => 0,
'label' => 'LLL:EXT:t3o_membership/Resources/Private/Language/locallang_db.xlf:tx_t3omembership_domain_model_member',
'config' => array(
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [['none', 0]],
'foreign_table' => 'tx_t3omembership_domain_model_member',
'foreign_table_where' => 'tx_t3omembership_domain_model_member.membership=1',
'minitems' => 0,
'maxitems' => 1,
),
),
],
],
],
];
\ No newline at end of file
......@@ -16,7 +16,7 @@ CREATE TABLE tx_randombanners_domain_model_banner (
tstamp 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,
hidden tinyint(4) DEFAULT '0' NOT NULL,
starttime int(11) DEFAULT '0' NOT NULL,
......@@ -36,7 +36,7 @@ CREATE TABLE tx_randombanners_domain_model_banner (
sys_language_uid int(11) DEFAULT '0' NOT NULL,
l10n_parent int(11) DEFAULT '0' NOT NULL,
l10n_diffsource mediumblob NOT NULL,
l10n_state text NOT NULL,
l10n_state text DEFAULT NULL,
PRIMARY KEY (uid),
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