[TYPO3-german] tt_news + Bilder
Björn Hahnefeld
bh at mp-telekommunikation.de
Thu Oct 18 18:53:08 CEST 2012
Die News-Extension erzeugt einen DIV-Container via "<div class="news-latest-item">". Wenn ich ein Bild einfüge, dann kommt dabei ein unschöner Zeilenumbruch heraus: http://www.mp-telekommunikation.de.
Dies ist mein Quelltext:
--
15 = COA
15 {
stdWrap.wrap = <div class="news"><ul>|</ul></div>
10 < plugin.tt_news
10 {
#templateFile >
#templateFile = fileadmin/html/tt_news_v3_mp_telekom_aktuelles_latest_box.html
code >
code = LATEST
excludeAlreadyDisplayedNews = 0
excludeLatestfromList = 0
#categorySelection = 5
#categoryMode = 1
displayLatest >
displayLatest {
age_stdWrap.age = 1
date_stdWrap.strftime= %d.%m.%Y
time_stdWrap.strftime= %H:%M
caption_stdWrap.if.directReturn = 0
title_stdWrap >
title_stdWrap {
stripHtml = 1
# crop.override = 40 | ... | 1
}
subheader_stdWrap >
subheader_stdWrap {
stripHtml = 1
# crop.override = 99999 | ... | 1
ifEmpty.cObject = TEXT
ifEmpty.cObject {
field = bodytext
crop = 200 | ... | 1
}
outerWrap = <p>|</p>
}
imageCount = 1
imgAltTextField = imagecaption
imageWrapIfAny =
category_stdWrap.wrap = <div class="news-latest-category"> | </div>
categoryItem_stdWrap.wrap =
linkTitleField = title
linkTitleField.wrap =
linkAltField = short
linkAltField.wrap =
latestImageMode = {$plugin.tt_news.latestImageMode}
}
}
}
--
-----Ursprüngliche Nachricht-----
Von: typo3-german-bounces at lists.typo3.org [mailto:typo3-german-bounces at lists.typo3.org] Im Auftrag von Björn Hahnefeld
Gesendet: Mittwoch, 17. Oktober 2012 18:11
An: typo3-german at lists.typo3.org
Betreff: [TYPO3-german] tt_news + Bilder
Hallo zusammen,
ich habe folgendem TS-Code:
--
15 = COA
15 {
stdWrap.wrap = <div class="news"><ul>|</ul></div>
10 < plugin.tt_news
10 {
templateFile >
templateFile = fileadmin/html/tt_news_v3_mp_telekom_aktuelles_latest_box.html
code >
code = LATEST
excludeAlreadyDisplayedNews = 0
excludeLatestfromList = 0
#categorySelection = 5
#categoryMode = 1
displayLatest >
displayLatest {
age_stdWrap.age = 1
date_stdWrap.strftime= %d.%m.%Y
time_stdWrap.strftime= %H:%M
caption_stdWrap.if.directReturn = 0
title_stdWrap >
title_stdWrap {
stripHtml = 1
# crop.override = 40 | ... | 1
}
subheader_stdWrap >
subheader_stdWrap {
stripHtml = 1
# crop.override = 99999 | ... | 1
ifEmpty.cObject = TEXT
ifEmpty.cObject {
field = bodytext
crop = 200 | ... | 1
}
#outerWrap = <p>|</p>
}
imageCount = 1
imgAltTextField = imagecaption
imageWrapIfAny =
category_stdWrap.wrap = <div class="news-latest-category"> | </div>
categoryItem_stdWrap.wrap =
linkTitleField = title
linkTitleField.wrap =
linkAltField = short
linkAltField.wrap =
latestImageMode = {$plugin.tt_news.latestImageMode}
}
}
}
--
Es werden aber keine Bilder, die hinterlegt wurden, angezeigt. Woran könnte dies liegen?
Viele Grüße
Björn
_______________________________________________
TYPO3-german mailing list
TYPO3-german at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
More information about the TYPO3-german
mailing list