Hallo,
ich habe zwei news-plugins auf einer Seite, einmal als single- und einmal als latest-news.
In der single-view ist die rgsmoothgallery mit allen Bildern aktiv.
In der kleinen, latest-Ansicht aber auch, wo nur das erste Bild klein angezeigt werden soll.
Das Problem liegt darin, dass in der latest-Ansicht das Bild wie im single-plugin mit 400px + Lightbox angezeigt wird. Das sprengt die Spalte.
Ich möchte daher in der latest-Ansicht die gallery ausschalten.
Kann mir einer sagen, wie ich das anstellen kann?
Vielen Dank im Voraus!
Seneca
Hallo,
wenn man Ruhe und Muße hat und keiner einem eine Antowrt liefert (Schnief!), dann findet man gelegentlich selbst etwas.
Heureka! Und zwar durch ein genaueres Studium des Manuals!
Damit alle etwas davon haben:
Ich habe ein Extension Template anlegt und jeweils eine spezeille Konfigutation für die LATEST- und LIST-Ansicht erstellt, die andere Konfiguration gilt für alle anderen Ansichten.
####################################################
### rgsmoothgallery in tt_news
####################################################
plugin.tt_news.rgsmoothgallery < plugin.tx_rgsmoothgallery_pi1
plugin.tt_news.rgsmoothgallery {
big {
file.maxW = 350
file.maxH = 346
}
width = 351
height = 347
lightbox = 1
showThumbs= 1
thumbOpacity = 0.8
arrows = 1
hideInfoPane = 0
}
plugin.tt_news.rgsmoothgallery.LIST {
big {
file.maxW = 200
file.maxH = 180
}
width = 200
height = 150
lightbox = 0
showThumbs= 0
thumbOpacity = 0.8
arrows = 0
hideInfoPane = 1
}
plugin.tt_news.rgsmoothgallery.LATEST {
big {
file.maxW = 66
file.maxH = 40
}
width = 65
height = 39
showThumbs= 0
thumbOpacity = 0.8
arrows = 0
hideInfoPane = 1
}