Zum Inhalt springen

rgtabs v.2 --> 2 verschiedene Typoscripts auf einer Seite möglich

Erstellt am 7. September 2009 · 2 Antworten · letzte Antwort am 22. Oktober 2009

Tags: Frage

marcfinnern ·

Hallo Typo3-Team, hallo Georg

Ist es irgendwie möglich das ich 2x rgtabs auf eine Seite bringe und diese dann mit 2 verschiedenen Typoscripts anspreche?

Tab 1:

plugin.tx_rgtabs_pi1 {
title.cObject = RECORDS
        title.cObject {
                tables = tt_content
                # this does the magic and holds the uid of the contentelement
            source.field = tx_rgtabsTitle
                dontCheckPid = 1
                conf.tt_content = COA
                conf.tt_content {
       
      10= IMAGE
      10 {
        file = GIFBUILDER
        file {
          XY = [10.w]+1,24
          #XY = [10.w]+160,24
          transparentColor = #333333
          backColor = #333333
          10 = TEXT
          10.text.field = header
          #10.text.crop= 15||1
          10.fontSize = 12
          10.offset = 0,19
          10.fontFile = fileadmin/fonts/LTe50152.ttf
          10.fontColor = #ffffff
          #10.niceText = 1
        }
        # Übertrag in Title- und AltTag
        titleText.field = header
        altText.field = header
      }
    }
  }
}

Tab 2:
das gleiche nur mit
fontColor = #000000
transparentColor = #b7b7b7
backColor = #b7b7b7

Ich verwende Typo3 4.2.8 und TemplaVoila falls es hilfreich ist.

Danke schonmal für jede hilfe

marcfinnern ·

kann man vielleicht mit sowas den content abfragen?

[globalVar = tt_content = 19]
hier typoscript für die ID des content
[global]

redbug ·

Hallo zusammen,

ich stehe leider genau vor dem gleichen Problem ;-(

Ich habe ein Plugin 2 mal auf einer Seite eingefügt, jedoch soll jedes Plugin ein anderes Template und Detail PID haben.

Momentan ist das Template zentral über TS gesteuert.

Kann ich das irgend wie mit

$GLOBALS['TSFE']->currentRecord

oder

[globalString=TSFE:cObj|currentRecord=tt_content:XXX]

abfragen?

leider funktioniert das nicht so wie ich mir das vorstellen, vielleicht hat ja jemand eine Idee...

Danke und Gruß redbug