Follow-up to feature #6872: #11924: Use suggest feature in core
authorSteffen Kamper <info@sk-typo3.de>
Sat, 12 Sep 2009 09:36:04 +0000 (09:36 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Sat, 12 Sep 2009 09:36:04 +0000 (09:36 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5917 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/stddb/tables.php
t3lib/stddb/tbl_be.php
typo3/sysext/cms/ext_tables.php
typo3/sysext/cms/tbl_cms.php
typo3/sysext/cms/tbl_tt_content.php

index 7972a9b..101fa88 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-09-12  Steffen Kamper  <info@sk-typo3.de>
+
+       * Follow-up to feature #6872: #11924: Use suggest feature in core
+
 2009-09-12  Rupert Germann  <rupi@gmx.li>
 
        * Fixed bug #11920: Follow-up to feature #6872: TCEforms suggest gives no results with custom TSconfig (thanks to Andreas Wolf)
index 4d2d341..b7939ba 100644 (file)
@@ -224,7 +224,12 @@ $TCA['pages'] = array(
                                'size' => '1',
                                'maxitems' => '1',
                                'minitems' => '0',
-                               'show_thumbs' => '1'
+                               'show_thumbs' => '1',
+                               'wizards' => array(
+                                       'suggest' => array(
+                                               'type' => 'suggest',
+                                       ),
+                               ),
                        )
                ),
                'tx_impexp_origuid' => array('config'=>array('type'=>'passthrough')),
index adc45bf..6d1f36c 100644 (file)
@@ -131,7 +131,12 @@ $TCA['be_users'] = array(
                                'size' => '3',
                                'maxitems' => '10',
                                'autoSizeMax' => 10,
-                               'show_thumbs' => '1'
+                               'show_thumbs' => '1',
+                               'wizards' => array(
+                                       'suggest' => array(
+                                               'type' => 'suggest',
+                                       ),
+                               ),
                        )
                ),
                'file_mountpoints' => array(
@@ -439,7 +444,12 @@ $TCA['be_groups'] = array(
                                'size' => '3',
                                'maxitems' => 20,
                                'autoSizeMax' => 10,
-                               'show_thumbs' => '1'
+                               'show_thumbs' => '1',
+                               'wizards' => array(
+                                       'suggest' => array(
+                                               'type' => 'suggest',
+                                       ),
+                               ),
                        )
                ),
                'file_mountpoints' => array(
index 03f4973..56e48eb 100755 (executable)
@@ -326,8 +326,13 @@ if (TYPO3_MODE=='BE')      {
                                'size' => '3',
                                'maxitems' => '1',
                                'minitems' => '0',
-                               'show_thumbs' => '1'
-                       )
+                               'show_thumbs' => '1',
+                               'wizards' => array(
+                                       'suggest' => array(
+                                               'type' => 'suggest',
+                                       ),
+                               ),
+                       ),
                ),
                'shortcut_mode' => array (
                        'exclude' => 1,
@@ -347,24 +352,34 @@ if (TYPO3_MODE=='BE')     {
                        'config' => array (
                                'type' => 'group',
                                'internal_type' => 'db',
-                                       'allowed' => 'pages',
+                               'allowed' => 'pages',
                                'size' => '1',
                                'maxitems' => '1',
                                'minitems' => '0',
-                               'show_thumbs' => '1'
-                       )
+                               'show_thumbs' => '1',
+                               'wizards' => array(
+                                       'suggest' => array(
+                                               'type' => 'suggest',
+                                       ),
+                               ),
+                       ),
                ),
                'mount_pid' => array (
                        'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.mount_pid',
                        'config' => array (
                                'type' => 'group',
                                'internal_type' => 'db',
-                                       'allowed' => 'pages',
+                               'allowed' => 'pages',
                                'size' => '1',
                                'maxitems' => '1',
                                'minitems' => '0',
-                               'show_thumbs' => '1'
-                       )
+                               'show_thumbs' => '1',
+                               'wizards' => array(
+                                       'suggest' => array(
+                                               'type' => 'suggest',
+                                       ),
+                               ),
+                       ),
                ),
                'keywords' => array (
                        'exclude' => 1,
index 375c1a6..ba7c1fe 100755 (executable)
@@ -636,8 +636,13 @@ $TCA['pages_language_overlay'] = array(
                                'size' => '3',
                                'maxitems' => '1',
                                'minitems' => '0',
-                               'show_thumbs' => '1'
-                       )
+                               'show_thumbs' => '1',
+                               'wizards' => array(
+                                       'suggest' => array(
+                                               'type' => 'suggest',
+                                       ),
+                               ),
+                       ),
                ),
                'shortcut_mode' => array (
                        'exclude' => 1,
@@ -812,7 +817,12 @@ $TCA['sys_template'] = array(
                                'size' => '1',
                                'maxitems' => '1',
                                'minitems' => '0',
-                               'default' => ''
+                               'default' => '',
+                               'wizards' => array(
+                                       'suggest' => array(
+                                               'type' => 'suggest',
+                                       ),
+                               ),
                        )
                ),
                'include_static' => array(
@@ -852,6 +862,9 @@ $TCA['sys_template'] = array(
                                'wizards' => array(
                                        '_PADDING' => 4,
                                        '_VERTICAL' => 1,
+                                       'suggest' => array(
+                                               'type' => 'suggest',
+                                       ),
                                        'edit' => array(
                                                'type' => 'popup',
                                                'title' => 'Edit template',
index dfad18e..50e66db 100755 (executable)
@@ -664,12 +664,17 @@ $TCA['tt_content'] = Array (
                        'config' => Array (
                                'type' => 'group',
                                'internal_type' => 'db',
-                                       'allowed' => 'pages',
+                               'allowed' => 'pages',
                                'size' => '3',
                                'maxitems' => '22',
                                'minitems' => '0',
-                               'show_thumbs' => '1'
-                       )
+                               'show_thumbs' => '1',
+                               'wizards' => array(
+                                       'suggest' => array(
+                                               'type' => 'suggest',
+                                       ),
+                               ),
+                       ),
                ),
                'recursive' => Array (
                        'exclude' => 1,
@@ -838,8 +843,13 @@ $TCA['tt_content'] = Array (
                                'size' => '5',
                                'maxitems' => '200',
                                'minitems' => '0',
-                               'show_thumbs' => '1'
-                       )
+                               'show_thumbs' => '1',
+                               'wizards' => array(
+                                       'suggest' => array(
+                                               'type' => 'suggest',
+                                       ),
+                               ),
+                       ),
                ),
                'spaceBefore' => Array (
                        'exclude' => 1,