[TYPO3-templavoila] Wrap Records

Dmitry Dulepov typo3 at accio.lv
Mon Aug 21 09:10:26 CEST 2006


Hi!

R. van Twisk wrote:
> Now when I modify it to this:
> <TypoScript>
> 10 = COA
> 10.wrap = <b>|</b>
> 10.1= RECORDS
> 10.1.source.current=1
> 10.1.tables = tt_content
> </TypoScript>
> 
> The complete content disappears!!!!!

Imagine how XML parser sees it:
	<TypoScript>
		some text
		<b>
			some text
		</b>
		some text
	</TypoScript>.

So you got <b> and </b> tags inside <TypoScript> tags, which is not
really valid because <TypoScript> may not have any tags inside. See what
I mean? :)

You need to wrap <TypoScript> like this:
	<TypoScript><![CDATA[
	....
	]]></TypoScript>
or use TS object path type.

-- 
Dmitry.

"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)



More information about the TYPO3-project-templavoila mailing list