[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" ?>
	<meta type="array">
	<ROOT type="array">
		<tx_templavoila type="array">
			<description>Select the root HTML element (eg. body).</description>
		<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>
							5 = COA
							5.10= RECORDS
							5.10.tables = tt_content
							5.stdWrap.dataWrap = <div class="mask"><div id="scroller-id-{field:uid}">|</div></div>
					<oldStyleColumnNumber type="integer">0</oldStyleColumnNumber>
				<TCEforms type="array">
					<config type="array">
					<label>SingelBox [4x4]</label>

More information about the TYPO3-project-templavoila mailing list