[TYPO3-templavoila] get own UID for a "inline" content wrap
Jens Hoffmann
jens.hoffmann at dkd.de
Thu Mar 8 11:40:02 CET 2007
Hi fokes,
i like to get a UID of a TV Content Element to wrap
a DIV with this CE ID around the Content inside of
the same CE.
<div id="mapping"> (<div id="uid" onClick="action(uid)"> ... content ... </div>) </div>
Becouse of the TV inner action the "div id uid" will be lost.
Thats why i need to wrap them again around the content.
But i need a ID for a JavaScript action ...
1. Is this possible?
2. Yes, how? :)
THX for your help in front :)
Greez Jens
What i tryed (doesn't work):
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<T3DataStructure>
<meta type="array">
<langDisable>1</langDisable>
</meta>
<ROOT type="array">
<tx_templavoila type="array">
<title>ROOT</title>
<description>Select the root HTML element (eg. body).</description>
</tx_templavoila>
<type>array</type>
<el type="array">
<field_single_1_1 type="array">
<tx_templavoila type="array">
<title>SingelBox [4x4]</title>
<description>Single 1 1</description>
<sample_data type="array">
<numIndex index="0">SingelBox [4x4]</numIndex>
</sample_data>
<eType>ce</eType>
<TypoScript>
<![CDATA[
5 = COA
5.10= RECORDS
5.10.source.current=1
5.10.tables = tt_content
5.stdWrap.dataWrap = <div class="mask"><div id="scroller-id-{field:uid}">|</div></div>
]]>
</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>SingelBox [4x4]</label>
</TCEforms>
</field_single_1_1>
More information about the TYPO3-project-templavoila
mailing list