Hi
Mein Hoster hatte da sgefühle er müsse ohne meine zustimmung auf Typo3 4.1 updaten. Seit dfiesem Zeitpunkt funktionieren meine News-Anrisse welch eich in einer rechten Spalte ausgebe nicht mehr. Mit Version 4.0 hat alles bestens funktioniert. Nun habe ich ebenfalls die tt_news auf die Version 2.5 geändert aber weiterhin kein Erfolg.
Hier mal das TS meiner News
Constants:
# Page ID News:Die ID der Seite wo die News drin sind
pid_list = 8
#Page ID Singlenews:Die ID der Seite wo die SingleNews drin sind
singlePid = 7
#Page ID Archive:Die ID der Seite wo das Archiv drin ist
#archiveTypoLink = 9
Setup:
#CSS löschen
plugin.tt_news._CSS_DEFAULT_STYLE >
#Pfad zum eigenen Template
plugin.tt_news.templateFile = fileadmin/template/news/tt_news_latest.html
# Variable pid_list wird leer gemacht
plugin.tt_news.pid_list >
# PID wird über eine Konstante festgelegt
plugin.tt_news.pid_list = {$pid_list}
#Rekursiv, wenn euere News in Unterordner sind
plugin.tt_news.recursive >
plugin.tt_news.recursive = 1
#UID der Seite Singleview
plugin.tt_news.singlePid = {$singlePid}
#Archive Aktivieren
#UID der Archiveseite
plugin.tt_news {
archive = 1
archiveTypoLink.parameter = {$archiveTypoLink}
}
#Date
plugin.tt_news.displayList.date_stdWrap.strftime = %d.%m.%y
plugin.tt_news.displaySingle.date_stdWrap.strftime = %d.%m.%y
#plugin.tt_news.displaySingle.time_stdWrap.strftime = %H:%M Uhr
plugin.tt_news.displayList.image {
file.maxW = 165
file.maxH = 300
imageLinkWrap = 1
stdWrap.spaceAfter = 5
}
plugin.tt_news.displayLatest.image {
file.maxW = 165
file.maxWInText = 165
file.maxH = 300
imageLinkWrap = 1
stdWrap.spaceAfter = 5
}
plugin.tt_news.displaySingle.image {
file.maxW = 290
file.maxH = 600
imageLinkWrap = 0
}
# this will remove the complete <p> tag from all news content elements
lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.nonWrappedTag >
# include the php script for the pageBrowser userfunction
includeLibs.userPageBrowserFunc = EXT:tt_news/res/example_userPageBrowserFunc.php
# call user function
plugin.tt_news.userPageBrowserFunc = user_substPageBrowser
plugin.tt_news {
# Pagebrowser settings
pageBrowser {
maxPages = 10
# set this to '0' if you want the pagebrowser to display only numbers
showPBrowserText = 0
tableParams = cellpadding=0
showResultCount = 1
}
#Anzahl Zeichen
plugin.tt_news.displayList.subheader_stdWrap{
#crop = 300 | ...
ifEmpty.field = bodytext
}
#Anzahl Zeichen
plugin.tt_news.displayLatest.subheader_stdWrap{
crop = 200 | ...
ifEmpty.field = bodytext
}
temp.news = COA
temp.news < plugin.tt_news
temp.news {
code >
code = LATEST
catImageMode = 0
catTextMode = 1
latestLimit = 1
}
seite.10.marks.RECHTS.20 < plugin.tt_news
seite.10.marks.RECHTS.20 {
code >
code = AMENU
}
Da ich automaketemplate verwende, wird dann temp.news über einen Subpart eingebunden. Also so:
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
template =< plugin.tx_automaketemplate_pi1
# Select only the content between the <body>-tags
workOnSubpart = DOCUMENT_BODY
subparts{
col3_innen < temp.content
nav < temp.navigation
footer-date < temp.pagedate
teaser < temp.news
}
Kennt jemand dieses Problem oder weiss wo das Problem liegen könnte?
Besten Dank und Gruss
Mario