Actions
Bug #96809
closedAfter updating from 11.5.5 to 11.5.6 my image from the page properties is no longer rendered into the TypoScript HMENU
Start date:
2022-02-09
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
7.4
Tags:
TypoScript HMENU
Complexity:
Is Regression:
Yes
Sprint Focus:
Description
Is this a bug in 11.5.6 or do I need to adjust something in my TypoScript to make it work again with 11.5.6?
Currently I have downgraded back to 11.5.5. There my image is rendered into the menu without any problems.
I hope someone can help.
My FILES not working any more after update to 11.5.6:
temp.header.mainNavigation = HMENU
temp.header.mainNavigation {
special = list
special.value = 25
1 = TMENU
1 {
wrap = <ul><li class="level-up"><span class="standard-button back">zurück</span></li>|</ul>
NO = 1
NO {
wrapItemAndSub = <li class="first navitem-{field:uid}" rel="{field:uid}">|</li> |*| <li class="navitem-{field:uid}" rel="{field:uid}">|</li> |*| <li class="last navitem-{field:uid}" rel="{field:uid}">|</li>
wrapItemAndSub.insertData = 1
ATagBeforeWrap = 1
linkWrap = <span class="square"><span class="square-inner clearfix">|</span></span>
ATagParams = class="hasimage"
ATagParams.override.cObject = COA
ATagParams.override.cObject {
if.isFalse.field = media
10 = TEXT
10.value = class="noimage"
}
stdWrap {
cObject = COA
cObject {
# link text
10 = TEXT
10 {
field = subtitle // nav_title // title
outerWrap = <span class="menu-text second-layer">|</span>
}
# page properties image
20 = FILES
20 {
references {
table = pages
// we are now in context tt_content
uid.data = current:uid // current:uid
// depending whether you use CSC or FSC:
fieldName = media
}
maxItems = 1
renderObj = IMG_RESOURCE
renderObj {
file {
import.data = file:current:uid
treatIdAsReference = 1
width = 150c
height = 150c
}
# stdWrap.wrap = <div class="bg-image" style="background-image:url(|);"></div>
}
}
}
}
}
}
}
page.13 < temp.header.mainNavigation
Actions