2019-11-15 18:28:10 +01:00
|
|
|
tt_content.menu_abstract < lib.contentElement
|
2019-11-13 23:40:26 +01:00
|
|
|
tt_content.menu_abstract {
|
|
|
|
templateName = MenuAbstract
|
|
|
|
dataProcessing {
|
|
|
|
10 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
|
|
|
|
10 {
|
2019-11-15 13:17:22 +01:00
|
|
|
if {
|
|
|
|
value = 0
|
|
|
|
equals.field = layout
|
|
|
|
}
|
2019-11-13 23:40:26 +01:00
|
|
|
special = directory
|
|
|
|
special.value.field = pages
|
2019-11-15 13:17:22 +01:00
|
|
|
dataProcessing {
|
|
|
|
10 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
|
|
|
|
10 {
|
2019-12-13 13:27:25 +01:00
|
|
|
as = compatibleWith
|
2019-11-15 13:17:22 +01:00
|
|
|
selectFields = sys_category.*
|
|
|
|
table = sys_category
|
|
|
|
pidInList = 2
|
|
|
|
where = sys_category_record_mm.uid_foreign = {field:uid} AND sys_category.parent = 2
|
|
|
|
where.insertData = 1
|
|
|
|
leftjoin = sys_category_record_mm ON sys_category_record_mm.uid_local = sys_category.uid
|
|
|
|
orderBy = sorting
|
|
|
|
}
|
2019-11-15 18:28:10 +01:00
|
|
|
|
|
|
|
11 < .10
|
|
|
|
11 {
|
|
|
|
as = topics
|
2019-12-13 13:27:25 +01:00
|
|
|
where = sys_category_record_mm.uid_foreign = {field:uid} AND sys_category.parent = 1
|
|
|
|
}
|
2019-11-15 13:17:22 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
100 < .10
|
|
|
|
100 {
|
|
|
|
if.value = 100
|
|
|
|
special >
|
|
|
|
special = categories
|
|
|
|
special.value {
|
2019-11-15 18:28:10 +01:00
|
|
|
data = GP:topic_id
|
2019-11-15 13:17:22 +01:00
|
|
|
intval = 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
500 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
|
|
|
|
500 {
|
2019-12-13 13:27:25 +01:00
|
|
|
as = topic
|
2019-11-15 13:17:22 +01:00
|
|
|
if {
|
|
|
|
value = 100
|
|
|
|
equals.field = layout
|
|
|
|
}
|
|
|
|
table = sys_category
|
|
|
|
pidInList = 2
|
|
|
|
where = uid = ###UID###
|
|
|
|
markers {
|
|
|
|
UID {
|
2019-11-15 18:28:10 +01:00
|
|
|
data = GP:topic_id
|
2019-11-15 13:17:22 +01:00
|
|
|
intval = 1
|
|
|
|
}
|
|
|
|
}
|
2019-11-13 23:40:26 +01:00
|
|
|
}
|
|
|
|
}
|
2019-11-15 18:28:10 +01:00
|
|
|
|
|
|
|
stdWrap {
|
|
|
|
editIcons := appendString(header, header_layout, pages, layout)
|
|
|
|
}
|
2019-11-13 23:40:26 +01:00
|
|
|
}
|