Am 10.07.2013 15:09, schrieb Tobias Pierschel:
Hallo Zusammen,
laut "Feature #35670 (http://forge.typo3.org/issues/35670)" soll es möglich
sein die FlexForm Konfiguration als Datei auszulagern. Kann man den Pfad
zur XML Datei auch irgendwie direkt im TS des CE angeben? Ich möchte so wenig
wie möglich im Backend konfigurieren.
Das hier:
tt_content.gridelements_pi1.20.10.setup {
# ID of gridelement
1 < lib.gridelements.defaultGridSetup
1 {
flexformDS =
FILE:fileadmin/misc/tpl/ext/gridElements/2Columns.xml
columns {
0 < .default
0.wrap = <div class="gCol gCol50"><div
class="gColContent">|</div></div>
1 < .default
1.wrap = <div class="gCol gCol50"><div
class="gColContent">|</div></div>
}
wrap = <div class="gRow gRowStyle01">|</div>
}
}
Klappt nicht. Wahrscheinlich ist "flexformDS" nicht korrekt?
Das gehört nicht ins TypoScript-Setup, weil dort nur Daten aus dem
Flexform-Feld ausgelesen werden. Das wäre dann ja lediglich das Ergebnis
aus flexformDS nach dem Speichern.
Aber Du kannst das gesamte Gridelement mit Hilfe von TSconfig konfigurieren.
Da gibt's dann auch ein Flexform-File, das Du dort reinhängen kannst..
tx_gridelements.setup.1 {
# denied elements
# excludeLayoutIds = 1,2,3
# TSConfig winning
# overruleRecords = 1
# nur toplevel
# topLevelLayout = 1
flexformDS =
FILE:EXT:whatever/Configuration/FlexForms/GridLayouts/flexformDS.xml
icon = EXT:whatever/Resources/Public/GridLayouts/100.jpg
title = GridLayout Whatever
description = GridLayout Whatever
frame = 123
config {
colCount = 1
rowCount = 1
rows {
1 {
columns {
1 {
name = box-content
colPos = 0
}
}
}
}
}
}
HDH
Joey
--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german