[Typo3-dev] Templavoila FCE Preview?

Nikolas Hagelstein hagelstein at hauptsache.net
Mon Dec 5 12:46:48 CET 2005


Hi,

TV's preview of FCEs in the backendpagemodule
solely renders elements of the first level
(['ROOT']['el']).
This behavior makes things pretty unclear
in the case of CO using within FCE.

Exapmle:

[CO] ROOT
  [AT] bla
  [CO] box
    [EL] Headline
    [EL] Text
    [EL] img

results in a preview like this:
bla:xqz

As you can see recognizing a
specific FCE becomes a little
hard especially if "bla"
isn't very significant.

Is there any extension/hack available 
which makes TV rendering nested previews?

AFAIK preview rendering is related
to getDStreeForPage() of mod1/index.php.

I had a short view to it and it seems 
that moving 
(line 1338 of TV 0.4)
foreach($sVal['ROOT']['el'] as $k => $v) {

.
}

to a function and adding a little recursion
should to the trick.
Did i miss something?

cheers,
			Nikolas










More information about the TYPO3-dev mailing list