Commit 88920c2f authored by Thomas Löffler's avatar Thomas Löffler

[FEATURE] Adds possibility to list news recursive

parent 7dbef92e
......@@ -32,7 +32,7 @@ $GLOBALS['TCA']['tt_content']['types']['news_list'] = [
'showitem' => '
--palette--;' . $frontendLanguageFilePrefix . 'palette.general;general,
--palette--;' . $frontendLanguageFilePrefix . 'palette.header;header,
pages;' . $languageFilePrefix . 'CType.news_list.records,
pages;' . $languageFilePrefix . 'CType.news_list.records,recursive,
--div--;' . $frontendLanguageFilePrefix . 'tabs.appearance,
--palette--;' . $frontendLanguageFilePrefix . 'palette.frames;frames,
--div--;' . $frontendLanguageFilePrefix . 'tabs.access,
......
......@@ -7,6 +7,7 @@ tt_content {
10 {
table = pages
pidInList.field = pages
recursive.field = recursive
selectFields = pages.*
where = NOT hidden AND doktype = 12
languageField = sys_language_uid
......
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