[TYPO3-templavoila] Output of Content Elements missing

Joerg Jakobs jakobs at informatik.uni-muenchen.de
Tue Jan 16 12:20:43 CET 2007


Dmitry Dulepov wrote:
> Hi!
> 
> Joerg Jakobs wrote:
> 
>> Has somebody any idea what the error could be or how I could continue 
>> searching for it?
> 
> 
> If you are familiar with xml, you may search xml in your DS record for 
> your content field. Inside this field tag search for 
> <TypoScriptObjectPath> and if it is there, remove it with all content in 
> it.
> 
Hi Dmitry,
thanks for your advice. Actually I never edited the DS-xml manually. I 
set up a simple test template.
The TS record is:

# Default PAGE object:
lib.myMainNavi = TEXT
lib.myMainNavi.value = YES

page = PAGE
page.typeNum = 0
page.10 = USER
page.10.userFunc = tx_templavoila_pi1->main_page

... so nothing special. lib.myMainNavi is only a dummy for the later 
navigation. The automatically created xml ou can see below..
Interesting now: the first element with title "myContent" is NOT 
rendered in the output, while the next element with title 
"Testueberschrift" is clearly visible.
In the new page module i can enter content for all elements.
(I always cleared the cache...)

Thank you for any help!



<?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">
			<field_content type="array">
				<tx_templavoila type="array">
					<title>MyContent</title>
					<description>Hier kommt der Content rein</description>
					<sample_data type="array">
						<numIndex index="0">xxx</numIndex>
					</sample_data>
					<eType>ce</eType>
					<TypoScript>
	10= RECORDS
	10.source.current=1
	10.tables = tt_content
	10.wrap = &lt;!--TYPO3SEARCH_begin--&gt; | &lt;!--TYPO3SEARCH_end--&gt;
                     </TypoScript>
					<oldStyleColumnNumber type="integer">0</oldStyleColumnNumber>
				</tx_templavoila>
				<TCEforms type="array">
					<config type="array">
						<type>group</type>
						<internal_type>db</internal_type>
						<allowed>tt_content</allowed>
						<size>5</size>
						<maxitems>200</maxitems>
						<minitems>0</minitems>
						<multiple>1</multiple>
						<show_thumbs>1</show_thumbs>
					</config>
					<label>MyContent</label>
				</TCEforms>
			</field_content>
			<field_ueberschrift type="array">
				<tx_templavoila type="array">
					<title>Testueberschrift</title>
					<sample_data type="array">
						<numIndex index="0">565656565</numIndex>
					</sample_data>
					<eType>input_h</eType>
				</tx_templavoila>
				<TCEforms type="array">
					<config type="array">
						<type>input</type>
						<size>48</size>
						<eval>trim</eval>
					</config>
					<label>Testueberschrift</label>
				</TCEforms>
			</field_ueberschrift>
			<field_test type="array">
				<tx_templavoila type="array">
					<title>ttttttttttt</title>
					<description>ttttttt</description>
					<sample_data type="array">
						<numIndex index="0">rrrrrrrrrrrrrr</numIndex>
					</sample_data>
					<eType>image</eType>
					<TypoScript>
	10 = IMAGE
	10.file.import = uploads/tx_templavoila/
	10.file.import.current = 1
	10.file.import.listNum = 0
	10.file.maxW = 200
							</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>ttttttttttt</label>
				</TCEforms>
			</field_test>
		</el>
	</ROOT>
</T3DataStructure>


More information about the TYPO3-project-templavoila mailing list