Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
common
t3olayout
Commits
98d0e8f7
Commit
98d0e8f7
authored
Dec 21, 2020
by
Thomas Löffler
Browse files
Check for navigation icons only if set
parent
b4cefdb5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Configuration/TypoScript/ContentElements/MenuSubpages.typoscript
View file @
98d0e8f7
...
...
@@ -18,6 +18,7 @@ tt_content.menu_subpages {
20 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
20 {
if.isTrue.field = t3o_navicon
references.fieldName = t3o_navicon
as = navicon
}
...
...
Configuration/TypoScript/Includes/DataProcessingMenu.typoscript
View file @
98d0e8f7
...
...
@@ -12,12 +12,14 @@ page {
dataProcessing {
10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
10 {
if.isTrue.field = t3o_navicon
references.fieldName = t3o_navicon
as = nav_icon
}
20 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
20 {
if.isTrue.field = t3o_nav_content_image
references.fieldName = t3o_nav_content_image
as = nav_content_image
}
...
...
@@ -40,6 +42,7 @@ page {
30 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
30 {
if.isTrue.field = t3o_metaicon
references.fieldName = t3o_metaicon
as = meta_icon
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment