Zum Inhalt springen

RTE in einem FCE mit Sections

Erstellt am 15. August 2008 · 5 Antworten · letzte Antwort am 19. September 2008

Tags: FlexForms, Frage

Gernott ·

Hallo!

Ich habe ein Inhaltselement (FCE) mit einer Section erstellt. Darin befindet sich ein Content Element mit einem Bild und einem RTE-Textfeld.
Also in der Praxis lege ich das Inhaltselement "Tabelle" an und darin wähle ich bei "Add new:" "New Zeile" aus und kann somit beliebig viele Zeilen einfügen.

Ich habe nun das Problem, daß der RTE darin nicht geladen wird. Es kommt nur eine große Textarea. Der RTE funktioniert bei normalen Standard Inhaltselementen und bei normalen FCEs mit RTE Feldern problemlos. Ich verwende TYPO3 4.21 und alle aktuellen Extensionversionen.

Kennt jemand das Problem? Ist das vielleicht ein Bug von Templavoila?

Gernott ·

Hallo nochmal. Vielleicht kann mir jemand weiterhelfen wenn ich das XML poste...
Das Problem liegt zwischen Zeile 66 bis 92. Hier ist ein RTE Feld eingestellt, welches aber nicht angezeigt wird. Es kommt nur ein Textfeld ohne Buttons usw...

<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<T3DataStructure>
	<meta type="array">
		<langDisable>1</langDisable>
	</meta>
	<ROOT type="array">
		<tx_templavoila type="array">
			<title>ROOT</title>
			<description>Select the HTML element on the page which you want to be the overall container element for the template.</description>
		</tx_templavoila>
		<type>array</type>
		<el type="array">
			<field_zeilen type="array">
				<type>array</type>
				<section>1</section>
				<tx_templavoila type="array">
					<title>Zeilen</title>
					<eType>input</eType>
				</tx_templavoila>
				<el type="array">
					<field_zeile type="array">
						<type>array</type>
						<tx_templavoila type="array">
							<title>Zeile</title>
							<eType>input</eType>
						</tx_templavoila>
						<el type="array">
							<field_spalte1 type="array">
								<tx_templavoila type="array">
									<title>Bild</title>
									<sample_data type="array">
										<numIndex index="0"></numIndex>
									</sample_data>
									<eType>imagefixed</eType>
									<TypoScript>
	10 = IMAGE
	10.file = GIFBUILDER
	10.file {
		XY = 200,150
		10 = IMAGE
		10.file.import = uploads/tx_templavoila/
		10.file.import.current = 1
		10.file.import.listNum = 0
		10.file.maxW = 200
		10.file.minW = 200
		10.file.maxH = 150
		10.file.minH = 150
	}
							</TypoScript>
								</tx_templavoila>
								<TCEforms type="array">
									<config type="array">
										<type>group</type>
										<internal_type>file</internal_type>
										<allowed>gif,png,jpg,jpeg</allowed>
										<max_size>1000</max_size>
										<uploadfolder>uploads/tx_templavoila</uploadfolder>
										<show_thumbs>1</show_thumbs>
										<size>1</size>
										<maxitems>1</maxitems>
										<minitems>0</minitems>
									</config>
									<label>Bild</label>
								</TCEforms>
							</field_spalte1>
							<field_spalte2 type="array">
								<tx_templavoila type="array">
									<title>Text</title>
									<sample_data type="array">
										<numIndex index="0"></numIndex>
									</sample_data>
									<eType>rte</eType>
									<proc type="array">
										<HSC type="integer">0</HSC>
									</proc>
									<TypoScript><![CDATA[
	10 = TEXT
	10.current = 1
	10.parseFunc = < lib.parseFunc_RTE
							]]></TypoScript>
								</tx_templavoila>
								<TCEforms type="array">
									<config type="array">
										<type>text</type>
										<cols>48</cols>
										<rows>5</rows>
										<softref>typolink_tag,images,email[subst],url</softref>
									</config>
									<defaultExtras>richtext:rte_transform[flag=rte_enabled|mode=ts_css]</defaultExtras>
									<label>Text</label>
								</TCEforms>
							</field_spalte2>
						</el>
					</field_zeile>
				</el>
			</field_zeilen>
		</el>
	</ROOT>
</T3DataStructure>
Gernott ·

Hallo nochmal.

Ich bin am verzweifeln. Ich habs nun auch auf einer anderen TYPO3-Installation erfolglos gestestet. Habe nur ich dieses Problem? :-(

Bin für jeden Tipp dankbar

davidb ·

Sieh mal nach im Quelltext, ob der RTE übertragen wird.
Der RTE ist bei Tabs und Sections etwas anfällig, deswegen würde ich ihn auch damit nicht verwenden (evtl. über ein popup).
Ggf. auch mal einen anderen Browser verwenden.

Gernott ·

Hallo!

Danke für die Info!
Ich habe das Problem nun anders gelöst:

Es gibt ein FCE, welches die Tabelle erstellt (<table><tr><th></th></tr>|</table>)
| = Content Elements

Und ein zweites FCE für die Zeilen (<tr><td>|</td></tr>)
| = RTE

Mit der Extension fcecolumn habe ich die Spalten limitiert, damit in der Tabelle nur das FCE mit den Zeilen eingefügt werden kann.

lg
Gernot