ccrandomimage zeigt nichts an

  • martina martina
    Sternenflotten-Admiral
    0 x
    173 Beiträge
    0 Hilfreiche Beiträge
    31. 01. 2005, 14:10

    Hi... Ich versuch mich die ganze Zeit mit der random image extension, aber die zeigt mir einfach nix an. Könnt ihr nicht mal 'n Blick drauf werfen und mir sagen, was ich falsch gemacht habe(n könnte)?!

    [b:39966017e6]Dies ist mein Template-Setup:[/b:39966017e6]
    [code:1:39966017e6]## Random Image generieren
    page.includeLibs.tx_ccrandomimage = EXT:cc_random_image/pi1/class.tx_ccrandomimage_pi1.php
    temp.rndImageTop = USER_INT
    temp.rndImageTop {
    userFunc = tx_ccrandomimage_pi1->main
    path = fileadmin/images/random/
    fileExt = jpg,jpeg,gif,png
    renderObj = COA
    renderObj {
    10 = IMAGE
    10.file = ###FILE_1###
    20 = IMAGE
    20.file = ###FILE_2###
    30 = IMAGE
    30.file = ###FILE_3###
    40 = IMAGE
    40.file = ###FILE_4###
    50 = IMAGE
    50.file = ###FILE_5###
    }
    }

    seite = PAGE
    seite {
    typeNum = 0
    bodyTag = <body bgColor= "#533328">
    stylesheet = fileadmin/style.css
    meta.AUTHOR = ...
    meta.DESCRIPTION = Hier steht eine Beschreibung

    # Sprache für Indexed Search auf Deutsch stellen
    config.language = de

    # Indexierte Suche erlauben
    config.index_enable = 1
    config.index_externals = 1

    # Dieser Abschnitt baut die grossen 2 Titel oben (blau/hellblau)
    10 = TEMPLATE
    10.template = FILE
    10.template.file = fileadmin/vorlage.html
    10.workOnSubpart = DOKUMENT
    10.marks {

    [b] # Random Image ins Template einfügen
    RNDIMG < temp.rndImageTop [/b]

    TRAILER = IMAGE
    TRAILER.file = GIFBUILDER
    TRAILER.file {
    XY = 638, 86
    #Hintergrund bei Font, weiss
    backColor = #FFFFFF

    # Titel gross, hellblau
    10 = TEXT
    10.text.field = subtitle // title
    10.fontSize = 85
    10.fontFile = fileadmin/fonts/impact.ttf
    # vorher: 10.fontColor = #0FFFFF
    10.fontColor = #77BCD8
    10.niceText=1
    10.offset = 20, 75

    # Titlel klein dunkelblau
    20 = TEXT
    20.text.field = title // subtitle
    20.fontSize = 36
    20.fontFile = fileadmin/fonts/impact.ttf
    # vorher: 20.fontColor = #0099FF
    20.fontColor = #0094CE
    20.niceText = 1
    20.offset = 15, 72

    }

    #Menü rechts oben erstellen, weisse Links (aus Style)
    MENU_OBEN = HMENU
    MENU_OBEN.special = directory
    MENU_OBEN.special.value = 3
    MENU_OBEN.1 = TMENU
    MENU_OBEN.1.NO = 1
    MENU_OBEN.1.NO.ATagParams = class = "linkSchwarz"
    MENU_OBEN.1.NO.linkWrap =  | | |*|  | | |*|  |

    #Menü links erstellen
    MENU_LINKS = HMENU
    MENU_LINKS.special = directory
    MENU_LINKS.special.value = 2
    MENU_LINKS.entryLevel = 1
    MENU_LINKS.1 = GMENU
    MENU_LINKS.1.NO = 1
    MENU_LINKS.1.NO {
    wrap = |<br>
    XY =145, 20
    backColor = #BBBBBB

    # Schrift in Schwarz in Menü
    10 = TEXT
    10.text.field = title
    10.fontFile = fileadmin/fonts/verdana.ttf
    10.fontSize = 12
    10.fontColor = #000007
    #bei kleinen Schriften Glättung aussschalten, sonst unscharf!
    10.niceText = 0
    10.offset = 7, 14

    # Trennstriche zwischen Menütiteln
    20 = IMAGE
    20.file = GIFBUILDER
    20.file {
    #Länge und Strichdicke des Trennbalkens 148, 1
    XY = 145,1
    backcolor = #FFFFFF
    }
    # 0, 19 - Trennbalken (Gegenstück zu 148,1)
    20.offset = 0, 19
    }

    #2. Menüebene, hellgrau
    #MENU_LINKS.1.CUR < .MENU_LINKS.1.RO
    MENU_LINKS.2 < .MENU_LINKS.1
    MENU_LINKS.2 {
    NO.backColor = #DDDDDD
    #NO.10.fontColor = #0055FF
    NO.10.fontColor = #533328
    RO < .NO
    # vorher: RO.backColor = #00FFFF
    RO.backColor = #77BCD8
    }

    #3. Menüebene, sehr helles grau
    #MENU_LINKS.2.CUR < .MENU_LINKS.2.RO
    MENU_LINKS.3 < .MENU_LINKS.2
    MENU_LINKS.3 {
    NO.backColor = #EEEEEE
    NO.10.offset = 15, 14
    NO.10.fontColor = #444444
    RO < .NO
    #Markierung der Zeile
    RO.backColor = #77BCD8
    }

    # Menü ändern lassen auf blau wenn angewählt
    MENU_LINKS.1.RO < .MENU_LINKS.1.NO
    MENU_LINKS.1.RO.backColor = #77BCD8

    #Contentmodul einbinden (Textmittelteil)
    CONTENT= CONTENT
    CONTENT {
    table = tt_content
    select.orderBy = sorting
    select.where = colPos = 0
    }

    #Contentmodul einbinden (Text im rechten Abschnitt)
    RECHTS = CONTENT
    RECHTS {
    table = tt_content
    select.orderBy = sorting
    select.where = colPos = 2
    }
    }
    }

    ## Kontakt-Formular
    # Design-Anpassungen
    tt_content.mailform.20.layout = <tr><td align=left class="dolphin"><p><b>###LABEL###</b></p></td><td><img src="clear.gif" width=10></td><td>###FIELD###</td></tr>
    tt_content.mailform.20.params >
    tt_content.mailform.20.params = class="dolphin"
    # Frame, in welchem neue Seite ("Danke") geöffnet wird
    tt_content.mailform.20.target = _self

    ## Plugin Indexed Search
    plugin.tx_indexedsearch {
    # ausführliche Anzeige der Resultate (länger)
    _DEFAULT_PI_VARS.extResume=1
    # Ausgabe "flach" anzeigen, nicht nach Menü oben und Menü links gruppiert
    _DEFAULT_PI_VARS.group=flat
    # auch Suche nach Wortteil erlauben
    _DEFAULT_PI_VARS.type=1
    }

    ## Suchmaschinenoptimierung
    # entfernt die "0" aus der erstellten HTML-Seite
    config.simulateStaticDocuments_noTypeIfNoTitle = 1

    # Parameter direkt modifiziert:
    tt_content.text.10 = < lib.stdheader
    lib.stdheader.10.1.fontTag = <font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b> | </b></font>

    tmp_tt_content_text < tt_content.text
    tt_content.text >
    tt_content.text = COA
    tt_content.text.10 < lib.stdheader
    tt_content.text.20 = TEXT
    tt_content.text.20 {
    field = bodytext
    fieldRequired = bodytext
    wrap = <font face="Verdana, Arial, Helvetica, sans-serif" size="1">|</font><br>
    parseFunc < tmp_tt_content_text.20.parseFunc
    editIcons < tmp_tt_content_text.20.editIcons
    }[/code:1:39966017e6]


  • 1
  • 1