Skip to content

Commit

Permalink
[!!!][TASK] Drop all exclude fields
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminkott committed Apr 6, 2020
1 parent 9c8962d commit d268ed0
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 44 deletions.
9 changes: 0 additions & 9 deletions Configuration/TCA/Overrides/pages.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,13 @@
],
],
'comments_active' => [
'exclude' => 1,
'label' => $ll . 'pages.comments_active',
'config' => [
'type' => 'check',
'default' => '1',
],
],
'comments' => [
'exclude' => 1,
'label' => $ll . 'pages.comments',
'config' => [
'type' => 'inline',
Expand All @@ -115,7 +113,6 @@
],
],
'crdate_month' => [
'exclude' => 1,
'label' => $ll . 'pages.crdate_month',
'config' => [
'type' => 'input',
Expand All @@ -126,7 +123,6 @@
],
],
'crdate_year' => [
'exclude' => 1,
'label' => $ll . 'pages.crdate_year',
'config' => [
'type' => 'input',
Expand All @@ -137,7 +133,6 @@
],
],
'archive_date' => [
'exclude' => 1,
'label' => $ll . 'pages.archive_date',
'config' => [
'type' => 'input',
Expand All @@ -151,7 +146,6 @@
],
],
'publish_date' => [
'exclude' => 1,
'label' => $ll . 'pages.publish_date',
'config' => [
'type' => 'input',
Expand All @@ -165,7 +159,6 @@
],
],
'tags' => [
'exclude' => 1,
'label' => $ll . 'pages.tags',
'config' => [
'type' => 'select',
Expand All @@ -185,7 +178,6 @@
],
],
'authors' => [
'exclude' => 1,
'label' => $ll . 'pages.authors',
'config' => [
'type' => 'select',
Expand All @@ -202,7 +194,6 @@
],
],
'featured_image' => [
'exclude' => true,
'label' => $ll . 'pages.featured_image',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
'featured_image',
Expand Down
3 changes: 0 additions & 3 deletions Configuration/TCA/Overrides/sys_category.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
$ll = 'LLL:EXT:blog/Resources/Private/Language/locallang_db.xlf:';
$temporaryColumns = [
'slug' => [
'exclude' => 0,
'label' => $ll . 'sys_category.slug',
'config' => [
'type' => 'slug',
Expand All @@ -30,7 +29,6 @@
]
],
'content' => [
'exclude' => 1,
'label' => $ll . 'sys_category.content',
'config' => [
'type' => 'inline',
Expand All @@ -57,7 +55,6 @@
],
],
'posts' => [
'exclude' => 1,
'label' => $ll . 'sys_category.posts',
'config' => [
'type' => 'group',
Expand Down
17 changes: 0 additions & 17 deletions Configuration/TCA/tx_blog_domain_model_author.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,13 @@
],
],
'hidden' => [
'exclude' => 1,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.hidden',
'config' => [
'type' => 'check',
'default' => 0,
],
],
'name' => [
'exclude' => 0,
'label' => $ll . 'tx_blog_domain_model_author.name',
'config' => [
'type' => 'input',
Expand All @@ -103,7 +101,6 @@
'l10n_mode' => 'exclude',
],
'slug' => [
'exclude' => 0,
'label' => $ll . 'tx_blog_domain_model_author.slug',
'config' => [
'type' => 'slug',
Expand All @@ -121,7 +118,6 @@
'l10n_mode' => 'exclude',
],
'avatar_provider' => [
'exclude' => 0,
'label' => $ll . 'tx_blog_domain_model_author.avatar_provider',
'onChange' => 'reload',
'config' => [
Expand All @@ -136,7 +132,6 @@
'l10n_mode' => 'exclude',
],
'image' => [
'exclude' => 0,
'label' => $ll . 'tx_blog_domain_model_author.image',
'displayCond' => 'FIELD:avatar_provider:=:T3G\AgencyPack\Blog\AvatarProvider\ImageProvider',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
Expand All @@ -163,7 +158,6 @@
'l10n_mode' => 'exclude',
],
'title' => [
'exclude' => 0,
'label' => $ll . 'tx_blog_domain_model_author.title',
'config' => [
'type' => 'input',
Expand All @@ -172,7 +166,6 @@
],
],
'website' => [
'exclude' => 0,
'label' => $ll . 'tx_blog_domain_model_author.website',
'config' => [
'type' => 'input',
Expand All @@ -182,7 +175,6 @@
'l10n_mode' => 'exclude',
],
'email' => [
'exclude' => 0,
'label' => $ll . 'tx_blog_domain_model_author.email',
'config' => [
'type' => 'input',
Expand All @@ -192,7 +184,6 @@
'l10n_mode' => 'exclude',
],
'location' => [
'exclude' => 0,
'label' => $ll . 'tx_blog_domain_model_author.location',
'config' => [
'type' => 'input',
Expand All @@ -202,7 +193,6 @@
'l10n_mode' => 'exclude',
],
'twitter' => [
'exclude' => 0,
'label' => $ll . 'tx_blog_domain_model_author.twitter',
'config' => [
'type' => 'input',
Expand All @@ -212,7 +202,6 @@
'l10n_mode' => 'exclude',
],
'linkedin' => [
'exclude' => 0,
'label' => $ll . 'tx_blog_domain_model_author.linkedin',
'config' => [
'type' => 'input',
Expand All @@ -222,7 +211,6 @@
'l10n_mode' => 'exclude',
],
'xing' => [
'exclude' => 0,
'label' => $ll . 'tx_blog_domain_model_author.xing',
'config' => [
'type' => 'input',
Expand All @@ -232,7 +220,6 @@
'l10n_mode' => 'exclude',
],
'profile' => [
'exclude' => 0,
'label' => $ll . 'tx_blog_domain_model_author.profile',
'config' => [
'type' => 'input',
Expand All @@ -242,7 +229,6 @@
'l10n_mode' => 'exclude',
],
'bio' => [
'exclude' => 0,
'label' => $ll . 'tx_blog_domain_model_author.bio',
'config' => [
'type' => 'text',
Expand All @@ -265,7 +251,6 @@
'l10n_mode' => 'exclude',
],
'details_page' => [
'exclude' => 1,
'label' => $ll . 'tx_blog_domain_model_author.details_page',
'config' => [
'type' => 'group',
Expand All @@ -280,7 +265,6 @@
]
],
'sys_language_uid' => [
'exclude' => 1,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.language',
'config' => [
'type' => 'select',
Expand All @@ -296,7 +280,6 @@
],
'l18n_parent' => [
'displayCond' => 'FIELD:sys_language_uid:>:0',
'exclude' => 1,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.l18n_parent',
'config' => [
'type' => 'select',
Expand Down
8 changes: 0 additions & 8 deletions Configuration/TCA/tx_blog_domain_model_comment.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
],
],
'hidden' => [
'exclude' => 1,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.hidden',
'config' => [
'type' => 'check',
Expand All @@ -65,7 +64,6 @@
],
// author not implemented yet
'author' => [
'exclude' => 0,
'label' => $ll . 'tx_blog_domain_model_comment.author',
'config' => [
'type' => 'group',
Expand All @@ -82,7 +80,6 @@
],
],
'name' => [
'exclude' => 0,
'label' => $ll . 'tx_blog_domain_model_comment.name',
'config' => [
'type' => 'input',
Expand All @@ -91,7 +88,6 @@
],
],
'url' => [
'exclude' => 0,
'label' => $ll . 'tx_blog_domain_model_comment.url',
'config' => [
'type' => 'input',
Expand All @@ -100,7 +96,6 @@
],
],
'email' => [
'exclude' => 0,
'label' => $ll . 'tx_blog_domain_model_comment.email',
'config' => [
'type' => 'input',
Expand All @@ -109,7 +104,6 @@
],
],
'comment' => [
'exclude' => 0,
'label' => $ll . 'tx_blog_domain_model_comment.comment',
'config' => [
'type' => 'text',
Expand All @@ -118,7 +112,6 @@
],
],
'post_language_id' => [
'exclude' => 1,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.language',
'config' => [
'type' => 'select',
Expand All @@ -132,7 +125,6 @@
],
],
'status' => [
'exclude' => 1,
'label' => $ll . 'tx_blog_domain_model_comment.status',
'config' => [
'type' => 'select',
Expand Down
7 changes: 0 additions & 7 deletions Configuration/TCA/tx_blog_domain_model_tag.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,13 @@
],
],
'hidden' => [
'exclude' => 1,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.hidden',
'config' => [
'type' => 'check',
'default' => 0,
],
],
'title' => [
'exclude' => 0,
'label' => $ll . 'tx_blog_domain_model_tag.title',
'config' => [
'type' => 'input',
Expand All @@ -84,7 +82,6 @@
],
],
'slug' => [
'exclude' => 0,
'label' => $ll . 'tx_blog_domain_model_tag.slug',
'config' => [
'type' => 'slug',
Expand All @@ -100,14 +97,12 @@
]
],
'description' => [
'exclude' => 1,
'label' => $ll . 'tx_blog_domain_model_tag.description',
'config' => [
'type' => 'text',
],
],
'content' => [
'exclude' => 1,
'label' => $ll . 'tx_blog_domain_model_tag.content',
'config' => [
'type' => 'inline',
Expand Down Expand Up @@ -139,7 +134,6 @@
],
],
'sys_language_uid' => [
'exclude' => 1,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.language',
'config' => [
'type' => 'select',
Expand All @@ -155,7 +149,6 @@
],
'l18n_parent' => [
'displayCond' => 'FIELD:sys_language_uid:>:0',
'exclude' => 1,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.l18n_parent',
'config' => [
'type' => 'select',
Expand Down

0 comments on commit d268ed0

Please sign in to comment.