[FEATURE] New menu type "Sitemaps of selected pages" in CE "Menu/Sitemap"
authorMarco Huber <mail@marco-huber.de>
Fri, 13 Apr 2012 09:59:40 +0000 (11:59 +0200)
committerTolleiv Nietsch <tolleiv.nietsch@typo3.org>
Mon, 7 May 2012 06:32:54 +0000 (08:32 +0200)
In the content element "Menu/Sitemap" it would be nice to be able to select
the root page for the sitemap, because the current menu type "Sitemap"
always uses the tree root. We could enable this with introducing a new
menu type "Sitemaps of selected pages".

Change-Id: Ia71dc2486a173c9c4b0aaf7293639b323dee35dd
Resolves: #35945
Releases: 6.0
Reviewed-on: http://review.typo3.org/10388
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Max Roesch
Tested-by: Max Roesch
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
typo3/sysext/cms/locallang_ttc.xlf
typo3/sysext/cms/tbl_tt_content.php
typo3/sysext/css_styled_content/static/setup.txt

index 74a766d..7db0571 100644 (file)
                        <trans-unit id="menu_type.I.7" xml:space="preserve">
                                <source>Related pages (based on keywords)</source>
                        </trans-unit>
+                       <trans-unit id="menu_type.I.8" xml:space="preserve">
+                               <source>Sitemaps of selected pages</source>
+                       </trans-unit>
                        <trans-unit id="list_type" xml:space="preserve">
                                <source>Plugin:</source>
                        </trans-unit>
index dbda929..a9de958 100755 (executable)
@@ -1310,6 +1310,10 @@ $TCA['tt_content'] = array(
                                                '2',
                                        ),
                                        array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:menu_type.I.8',
+                                               '8',
+                                       ),
+                                       array(
                                                'LLL:EXT:cms/locallang_ttc.xml:menu_type.I.5',
                                                '3',
                                        ),
index 9daee2f..8d1683f 100644 (file)
@@ -1986,6 +1986,12 @@ tt_content.menu {
                                NO.wrapItemAndSub = <li class="csc-section">|</li>
                        }
                }
+               # "Sitemaps of selected pages - liststyle"
+               8 < .2
+               8 {
+                       special = directory
+                       special.value.field = pages
+               }
        }
 
        20.stdWrap {