[英]TYPO3 lib.general.logo Cannot add two images
I have a problem with TypoScript: 我有TypoScript问题:
According to the website from t3sbootstrap ( http://www.t3sbootstrap.de/konfiguration/snippets/ ) I just have to add this Code to the Template Setup to get my Logo below the NavBar: 根据t3sbootstrap的网站( http://www.t3sbootstrap.de/konfiguration/snippets/ ),我只需要将此代码添加到模板设置中即可在NavBar下方获得我的徽标:
lib.general.logo = IMAGE
lib.general.logo {
file = fileadmin/Images/TYPO3_logo.png
file.width = 200
stdWrap.typolink.parameter = 1
stdWrap.typolink.ATagParams = class="pull-left"
}
This works fine, but I want to add two images next to each other (same height) which link to different URLs. 效果很好,但我想添加两个链接到不同URL的图像(高度相同)。 I tried different things, but either none or only one image is shown
我尝试了不同的操作,但没有显示任何图像或仅显示了一张图像
I use TYPO3 7.6.16 with the Extenstion T3sbootstrap (v3.3.7) 我将TYPO3 7.6.16与扩展T3sbootstrap(v3.3.7)一起使用
Thanks for reading my stupid question until here! 感谢您阅读我的愚蠢问题,直到这里!
You can make an COA
to put two images into it: 您可以制作一个
COA
来放入两个图像:
lib.general.logo = COA
lib.general.logo {
10 = IMAGE
10 {
file = fileadmin/Images/TYPO3_logo.png
file.width = 200
stdWrap.typolink.parameter = 1
stdWrap.typolink.ATagParams = class="pull-left"
}
20 < .10
20.file = fileadmin/Images/Logo2.png
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.