Zum Inhalt springen

Amenu funktioniert (filtert) nicht

Erstellt am 5. März 2009 · 1 Antwort · letzte Antwort am 5. März 2009

Tags: tt_news, Frage

MajPay ·

Hi, schonwieder ich...

Ich habe per TS ein tt_news plugin mit code AMENU und eines mit code LIST auf der selben Seite platziert.

Jedes plugin für sich arbeitet richtig, aber die Filterung funktioniert nicht, klicke ich auf ein Monat werden mir trotzdem ALLLE News angezeigt. Hier mein TS:

temp.spotlight = COA
temp.spotlight {
	10 = HTML
	10.value = <div class="two-cols left-col small-col">
	15 = HTML
	15.value = <p class="news-amenu-header">Chronik</p>
	20 < plugin.tt_news
	20 {
		code >
		code = AMENU
		pid_list >
		pid_list = 33 # News Sys-Folder
		recursive = 3
		templateFile = fileadmin/Templates/tt_news/spotlight.tmpl
	}
	30 = HTML
	30.value = </div>
	40 = HTML
	40.value = <div class="two-cols right-col big-col">
	50 < plugin.tt_news
	50 {
		code >
		code = LIST
		pid_list >
		pid_list = 33 # News Sys-Folder
		templateFile = fileadmin/Templates/tt_news/spotlight.tmpl
		alternatingLayouts = 3
		catTextMode = 0
		categoryMode = 0
		limit = 9
		singlePid = 40 #Seite mit Detailansicht
		excludeAlreadyDisplayedNews = 1
		displayList {
			image.file.maxW = 120
			image.file.maxH = 90
			subheader_stdWrap {
				field = bodytext
				crop = 200 |...| 1
			}
		}
	}
	60 = HTML
	60.value = </div>
	70 = HTML
	70.value = <div class="clear"></div>
}
MajPay ·

Okay, das manual hat geholfen.

Note: Unless you're not using “Human readyble Archivedates” it is required to configure this “LIST” to show only archived items. If the LIST is set to “don't care”, it really does't care about archive settings and other archive-related parameters set from the links in the AMENU element -> it will always show all news-records.

Es ist zwar keiner der Datensätze archiviert, aber durch die Einstellung funktioniert das...

archive = 1