[TYPO3-german] "Kontaktecke" auf Webpräsenz

Ralf-Rene Schröder ralf.rene at online.de
Mon Oct 10 11:59:53 CEST 2016


Am 10.10.2016 um 09:31 schrieb Björn Hahnefeld:
> so hatte ich mir das auch vorgestellt. Allerdings muss ich ja dem
> Inhaltselement eine bestimmte Klasse mitgeben, damit ich mich im CSS zwecks
> Positionierung darauf beziehen kann. Wie stelle ich das denn an?

nehmen wir einfach mal an dein, egal wo neu erstelltes, spezielles
Kontaktformular hätte jetzt die ID 999, dann im TS:
lib.kontaktformular = COA (damit bei Bedarf noch mehr reinpasst)
lib.kontaktformular {
  wrap = <div id="myContactForm" | </div>
  10 = RECORDS
  10 {
    tables = tt_content
    source = 999
    dontCheckPid = 1
  }
}
# und dann einfügen wie auch immer und wo es hin soll, etc.
page.1234 < lib.kontaktformular


TIPP: https://docs.typo3.org/typo3cms/TyposcriptReference/
-- 
image[FORMAT] - Ralf-René Schröder
http://www.image-format.eu ... Wir geben Ihrem Image das richtige Format


More information about the TYPO3-german mailing list