Forráskód Böngészése

add new Tab for archiv search

jabongwa 2 éve
szülő
commit
12918514f7

+ 96 - 84
Configuration/FlexForms/chatbot.xml

@@ -1,87 +1,99 @@
 <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
 <T3DataStructure>
-    <meta>
-        <langDisable>1</langDisable>
-    </meta>
-    <sheets>
-        <sDEF>
-            <ROOT>
-                <type>array</type>
-                <el>
-                    <settings.terms>
-                        <TCEforms>
-                            <label>LLL:EXT:mrm_be/Resources/Private/Language/locallang_ttc.xlf:mrm_be_cm_chatbot.terms</label>
-                            <config>
-                                <type>text</type>
-                                <eval>trim,required</eval>
-                                <rows>5</rows>
-                                <cols>200</cols>
-                            </config>
-                        </TCEforms>
-                    </settings.terms>
-                    <settings.type>
-                        <TCEforms>
-                            <label>LLL:EXT:mrm_be/Resources/Private/Language/locallang_ttc.xlf:mrm_be_cm_chatbot.type</label>
-                            <config>
-                                <type>select</type>
-                                <eval>required</eval>
-                                <renderType>selectSingle</renderType>
-                                <items type="array">
-                                  <numIndex index="0" type="array">
-                                    <numIndex index="0">Auswählen</numIndex>
-                                    <numIndex index="1"></numIndex>
-                                  </numIndex>
-                                  <numIndex index="2" type="array">
-                                    <numIndex index="0">type</numIndex>
-                                    <numIndex index="1">medical</numIndex>
-                                  </numIndex>
-                                  <numIndex index="3" type="array">
-                                    <numIndex index="0">type</numIndex>
-                                    <numIndex index="1">bewerbung</numIndex>
-                                  </numIndex>
-                                  <numIndex index="4" type="array">
-                                    <numIndex index="0">type</numIndex>
-                                    <numIndex index="1">weiterbildung</numIndex>
-                                  </numIndex>
-                                  <numIndex index="5" type="array">
-                                    <numIndex index="0">type</numIndex>
-                                    <numIndex index="1">reverse</numIndex>
-                                  </numIndex>
-                                 <numIndex index="6" type="array">
-                                    <numIndex index="0">type</numIndex>
-                                    <numIndex index="1">unknown</numIndex>
-                                  </numIndex> 
-                                </items>
-                            </config>
-                        </TCEforms>
-                    </settings.type>
-                    <settings.category>
-                        <TCEforms>
-                            <label>LLL:EXT:mrm_be/Resources/Private/Language/locallang_ttc.xlf:mrm_be_cm_chatbot.category</label>
-                            <displayCond>FIELD:settings.type:=:reverse</displayCond>
-                            <config>
-                                <type>select</type>
-                                 <eval>required</eval>
-                                <renderType>selectSingle</renderType>
-                                <items type="array">
-                                  <numIndex index="0" type="array">
-                                    <numIndex index="0"></numIndex>
-                                    <numIndex index="1">Auswählen</numIndex>
-                                  </numIndex>
-                                  <numIndex index="1" type="array">
-                                    <numIndex index="0">type</numIndex>
-                                    <numIndex index="1">studium</numIndex>
-                                  </numIndex>
-                                  <numIndex index="2" type="array">
-                                    <numIndex index="0">type</numIndex>
-                                    <numIndex index="1">ausbildung</numIndex>
-                                  </numIndex>
-                                </items>
-                            </config>
-                        </TCEforms>
-                    </settings.category>
-                </el>
-            </ROOT>
-        </sDEF>
-    </sheets>
+  <meta>
+    <langDisable>1</langDisable>
+  </meta>
+  <sheets>
+    <sDEF>
+      <ROOT>
+        <type>array</type>
+        <el>
+          <settings.terms>
+            <TCEforms>
+              <label>LLL:EXT:mrm_be/Resources/Private/Language/locallang_ttc.xlf:mrm_be_cm_chatbot.terms</label>
+              <config>
+                <type>text</type>
+                <eval>trim,required</eval>
+                <rows>5</rows>
+                <cols>200</cols>
+              </config>
+            </TCEforms>
+          </settings.terms>
+          <settings.type>
+            <TCEforms>
+              <label>LLL:EXT:mrm_be/Resources/Private/Language/locallang_ttc.xlf:mrm_be_cm_chatbot.type</label>
+              <config>
+                <type>select</type>
+                <eval>required</eval>
+                <renderType>selectSingle</renderType>
+                <items type="array">
+                  <numIndex index="0" type="array">
+                    <numIndex index="0">Auswählen</numIndex>
+                    <numIndex index="1"></numIndex>
+                  </numIndex>
+                  <numIndex index="2" type="array">
+                    <numIndex index="0">type</numIndex>
+                    <numIndex index="1">medical</numIndex>
+                  </numIndex>
+                  <numIndex index="3" type="array">
+                    <numIndex index="0">type</numIndex>
+                    <numIndex index="1">bewerbung</numIndex>
+                  </numIndex>
+                  <numIndex index="4" type="array">
+                    <numIndex index="0">type</numIndex>
+                    <numIndex index="1">weiterbildung</numIndex>
+                  </numIndex>
+                  <numIndex index="5" type="array">
+                    <numIndex index="0">type</numIndex>
+                    <numIndex index="1">reverse</numIndex>
+                  </numIndex>
+                  <numIndex index="6" type="array">
+                    <numIndex index="0">type</numIndex>
+                    <numIndex index="1">unknown</numIndex>
+                  </numIndex>
+                  <numIndex index="7" type="array">
+                    <numIndex index="0">type</numIndex>
+                    <numIndex index="1">middlewords</numIndex>
+                  </numIndex>
+                  <numIndex index="8" type="array">
+                    <numIndex index="0">type</numIndex>
+                    <numIndex index="1">studiumwords</numIndex>
+                  </numIndex>
+                  <numIndex index="9" type="array">
+                    <numIndex index="0">type</numIndex>
+                    <numIndex index="1">ausbildungwords</numIndex>
+                  </numIndex>
+                </items>
+              </config>
+            </TCEforms>
+          </settings.type>
+          <settings.category>
+            <TCEforms>
+              <label>LLL:EXT:mrm_be/Resources/Private/Language/locallang_ttc.xlf:mrm_be_cm_chatbot.category</label>
+              <displayCond>FIELD:settings.type:=:reverse</displayCond>
+              <config>
+                <type>select</type>
+                <eval>required</eval>
+                <renderType>selectSingle</renderType>
+                <items type="array">
+                  <numIndex index="0" type="array">
+                    <numIndex index="0"></numIndex>
+                    <numIndex index="1">Auswählen</numIndex>
+                  </numIndex>
+                  <numIndex index="1" type="array">
+                    <numIndex index="0">type</numIndex>
+                    <numIndex index="1">studium</numIndex>
+                  </numIndex>
+                  <numIndex index="2" type="array">
+                    <numIndex index="0">type</numIndex>
+                    <numIndex index="1">ausbildung</numIndex>
+                  </numIndex>
+                </items>
+              </config>
+            </TCEforms>
+          </settings.category>
+        </el>
+      </ROOT>
+    </sDEF>
+  </sheets>
 </T3DataStructure>

+ 2 - 2
Configuration/TCA/Overrides/pages.php

@@ -773,7 +773,7 @@ $videoDoktype = 104;
 \TYPO3\CMS\Core\Utility\ArrayUtility::mergeRecursiveWithOverrule(
   $GLOBALS['TCA']['pages'],
   [
-    // add icon for new page type:
+    // add icon for new page type://
     'ctrl' => [
       'typeicon_classes' => [
         $videoDoktype => 'mrm_be_doktype_video_icon',
@@ -789,11 +789,11 @@ $videoDoktype = 104;
 );
 /* video doktype end */
 
-
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('pages','--div--;LLL:EXT:mrm_be/Resources/Private/Language/locallang_ttc.xlf:pages.general.title, --palette--;;access,red_status,--linebreak--,targetgroup,projectTitle,articleAffiliation,publicationType,orderStatus,orderType,author_ro,be_author,last_editor_ro,red_end,forCategoryOverview,forCategoryOverviewTopPosition,forThemeOverview,forHome,forHTMLSitemap,sharing_activated', '1', 'after:nav_title');
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('pages','--div--;LLL:EXT:mrm_be/Resources/Private/Language/locallang_ttc.xlf:pages.general.title, --palette--;;access,red_status--linebreak--,red_status,targetgroup,projectTitle,articleAffiliation,publicationType,orderStatus,orderType,author_ro,be_author,last_editor_ro,red_end,forCategoryOverview,forCategoryOverviewTopPosition,forThemeOverview,forHome,sharing_activated', '104', 'after:nav_title');
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('pages','--div--;LLL:EXT:mrm_be/Resources/Private/Language/locallang_ttc.xlf:pages.teaser.title, intro, --linebreak--, teaserHome, --linebreak--, teaserOverview', '1', 'after:nav_title');
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('pages','--div--;LLL:EXT:mrm_be/Resources/Private/Language/locallang_ttc.xlf:pages.teaser.title, intro,--linebreak--, teaserHome, --linebreak--, teaserOverview', '104', 'after:nav_title');
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('pages','--div--;LLL:EXT:mrm_be/Resources/Private/Language/locallang_ttc.xlf:pages.search.title,dkz_code_nrs,free_searchwords,ignored_searchwords,lesson', '103', 'after:sitemap_changefreq');
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('pages','--div--;LLL:EXT:mrm_be/Resources/Private/Language/locallang_ttc.xlf:pages.event.title, --palette--;;access,red_status,--linebreak--,event_link,event_location,event_state,event_category,sharing_activated', '100', 'after:nav_title');
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('pages','--div--;LLL:EXT:mrm_be/Resources/Private/Language/locallang_ttc.xlf:pages.blog.title, --palette--;;access,red_status,--linebreak--,be_author,blog_author,overview_image,blog_status,blog_category,sharing_activated', '101', 'after:nav_title');
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('pages','--div--;LLL:EXT:mrm_be/Resources/Private/Language/locallang_ttc.xlf:pages.blogauthor.title, red_status, --linebreak--,teaserOverview,forCategoryOverview,forCategoryOverviewTopPosition,overview_image,overview,sharing_activated', '102', 'after:nav_title');