Zum Inhalt springen

page.headerdata per TV schreiben ?

Erstellt am 23. Mai 2007 · Noch keine Antworten

Tags: Frage

lorrey ·

Hallo zusammen.

Ich würde gerne über eine UserFunc CSS Informationen holen in diese dann mit TV im TS Part in den Page Header schreiben...

Aber leider scheitert selbst der "hardcodierte" Test hier:

<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<T3DataStructure>
	<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">
			<url type="array">
				<tx_templavoila type="array">
					<title>Test</title>
					<sample_data type="array">
						<numIndex index="0"></numIndex>
					</sample_data>
					<eType>input</eType>
					<TypoScript>
 <![CDATA[

10 = COA_INT
10 {
 10 = TEXT
 10.current = 1
 10.postUserFunc = user_testFunc->go
 10.postUserFunc.include_post_vars = 1
}

page.headerData.9910=TEXT
page.headerData.9910.value(
  <!-- TEST -->
)
page.headerData.9910.insertData = 1

]]>
    
					</TypoScript>
					<proc type="array">
						<HSC type="integer">0</HSC>
					</proc>
				</tx_templavoila>
				<TCEforms type="array">
					<config type="array">
						<type>input</type>
						<size>48</size>
						<eval>trim</eval>
					</config>
					<label>Test</label>
				</TCEforms>
			</url>
		</el>
	</ROOT>
</T3DataStructure>

Wenn ich das hier in normale root Template schreiben - geht es - nur im TV Teil nicht.

page.headerData.9910=TEXT
page.headerData.9910.value(
<!-- TEST -->
)
page.headerData.9910.insertData = 1

Habt ihr einen Tipp für mich ?