That didn't work either so it is the Data Structure that is wrong.
The area is nemed field_bottom_element_1 and the editing type is set to
Content Elements.
The xml is this:
<field_bottom_element_1 type="array">
<tx_templavoila type="array">
<title>Bundelement 1</title>
<sample_data type="array">
<numIndex index="0"></numIndex>
</sample_data>
<eType>ce</eType>
<oldStyleColumnNumber type="integer">1</oldStyleColumnNumber>
<eType_EXTRA type="array">
<objPath>lib.btm_elm_1</objPath>
</eType_EXTRA>
<TypoScript><![CDATA[
10= RECORDS
10.source.current=1
10.tables = tt_content
10.wrap = <!--TYPO3SEARCH_begin--> | <!--TYPO3SEARCH_end-->
]]></TypoScript>
</tx_templavoila>
<TCEforms type="array">
<label>Bundelement 1</label>
<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>
</TCEforms>
</field_bottom_element_1>
JoH asenau skrev:
lib.btm_elm_1 = COA
lib.btm_elm_1 {
10 = RECORDS
10 {
source.current = 1
tables = tt_content
}
20 = COA
20 {
10 = RECORDS
10.dontcheckPid = 1
10.tables = tt_content
10.source = 47
if.isFalse.current = 1
}
stdWrap {
required = 1
wrap = <!--TYPO3SEARCH_begin--> | <!--TYPO3SEARCH_end-->
}
}
This way you don't use stdWrap AND you don't use an additional
lib.whatever. If this still doesn't work, this simply means you got
a problem with element
47.
It still doesn't show the default element (uid:47).
uid:47 is located at the frontpage where it shows beautifully :-)
Did you try this one:
lib.btm_elm_1 = COA
lib.btm_elm_1 {
10 = RECORDS
10.dontcheckPid = 1
10.tables = tt_content
10.source = 47
}
or even less
lib.btm_elm_1 = TEXT
lib.btm_elm_1.value = I am here
If this still doesn't show, you didn't implement lib.btm_elm_1 correctly in
your TV structure.
HTH
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-english mailing list
[email protected]
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english