[TYPO3-german] imagecycle lässt sich in tt_news nicht aktivieren

Ralf-Rene Schröder ralf.rene at online.de
Wed Feb 8 19:16:59 CET 2012


Am 07.02.2012 23:22, schrieb Wolfgang Papendieck:
> Hallo,
> 
> Ich habe Probleme mit der imagecycle Extension und tt_news.
> In den News lässt sich der Imagecycle nicht aktivieren.
> Es wird das Feld "ACTIVATE" und "DURATION" nicht angezeigt
> 
> In normalen Contentelementen ist es da.
> Die Static Templates sind eingebunden.
> 
> Hat jemand eine Ahnung woran das liegen kann?
> 
> Vielen Dank
> Wolfgang

hast du das Typoscript für tt_news hinzugefügt
(in dem paket was du vermutlich nutzt ist das NICHT voreingefügt)

einfach in dein roottemplate (oder den sonstiges Haupttemplate)
folgendes einfügen (gerade getestet, hier klappt es):

[globalString = TYPO3_LOADED_EXT|tt_news|type=*]
includeLibs.imagecycle = EXT:imagecycle/class.tx_imagecycle.php
plugin.tt_news {
    imageMarkerFunc = tx_imagecycle->getImageForTTnews

    displaySingle {
        imagecycleSingleImage < plugin.tx_imagecycle_pi1.cycle.ttnews.image
        imagecycleImageWrapIfAny <
plugin.tx_imagecycle_pi1.cycle.ttnews.stdWrap
        captionWrap < plugin.tx_imagecycle_pi1.cycle.ttnews.captionWrap
        itemWrap < plugin.tx_imagecycle_pi1.cycle.ttnews.itemWrap
    }

    displayList {
        imagecycleSingleImage < plugin.tx_imagecycle_pi1.cycle.ttnews.image
        imagecycleSingleImage {
            file {
                maxW = {$plugin.tt_news.listMaxW}
                maxH = {$plugin.tt_news.listMaxH}
            }
        }
        imagecycleImageWrapIfAny <
plugin.tx_imagecycle_pi1.cycle.ttnews.stdWrap
        captionWrap < plugin.tx_imagecycle_pi1.cycle.ttnews.captionWrap
        itemWrap < plugin.tx_imagecycle_pi1.cycle.ttnews.itemWrap
    }

    displayLatest {
        imagecycleSingleImage < plugin.tx_imagecycle_pi1.cycle.ttnews.image
        imagecycleSingleImage {
            file {
                maxW = {$plugin.tt_news.latestMaxW}
                maxH = {$plugin.tt_news.latestMaxH}
            }
        }
        imagecycleImageWrapIfAny <
plugin.tx_imagecycle_pi1.cycle.ttnews.stdWrap
        captionWrap < plugin.tx_imagecycle_pi1.cycle.ttnews.captionWrap
        itemWrap < plugin.tx_imagecycle_pi1.cycle.ttnews.itemWrap
    }
}
[global]


More information about the TYPO3-german mailing list