[Typo3-UG Oesterreich] tt_news & jstickernews
Michael HARNISCH
harmib00 at htl-kaindorf.ac.at
Mon Mar 7 13:43:09 CET 2005
Hallo TUGA-Liste,
nach einer längeren Listen-Pause melde ich mich mal wieder mit einer
bzw. zwei Frage(n)!
1) tt_news (Latest) auf allen Seiten am rechten Rand einbinden
Habe derzeit folgenden Code im Setup meines Templates:
############## NEWS ##################
tmp.newsLatest < plugin.tt_news
tmp.newsLatest
{
code >
code = LATEST
pid_list >
pid_list = 31 # the pids of the pages where your news are stored
catImageMode = 0
catTextMode = 0
}
seite.60.marks.RECHTS_UNTEN < tmp.newsLatest
... allerdings wird nur das Fenster angezeigt in dem mir empfohlen wird
einen CODE zu setzen! Allerdings hab ich das ja mit code > code = LATEST
getan?! Hat jemand vll. einen Lösungsansatz?
2) jstickernews auf allen Seiten im oberen Bereich einbinden
Habe folgenden Setup Code im Template:
############# NEWSTICKER ###############
tmp.newsticker < plugin.cm_jstickernews
{
table = tt_news
field = short
style = {$newsticker.InputFieldStyle}
textarea = 1
textarea.style = {$newsticker.TextareaStyle}
textarea.cols = 60
textarea.rows = 1
cat = {$newsticker.NewsCategorie}
}
seite.60.marks.TICKER < tmp.newsticker
und diesen im Constants-Bereich:
newsticker
{
NewsCategorie = 6
InputFieldStyle = STYLE="font: bold 11px Verdana,sans-serif; width:90%;
background-color: transparent; border-styke: #A0BA9d solid 1px"
TextareaStyle = STYLE="font": normal 11px Verdand,sans-serif;
background-color: transparent; border: none;”
}
... hier wird leider gar nichts in meiner Ansicht angezeigt! :(
Hoffe (wiedermal) auf eure Hilfe!
lg
Michael
More information about the TYPO3-at
mailing list