[TYPO3-templavoila] TV Attribute mapping problem
Dmitry Dulepov
dmitry at typo3.org
Thu Oct 12 10:45:22 CEST 2006
Hi!
Jacob Rasmussen wrote:
> Old html template:
Let's look at this this first.
So you have:
TD:ATTR:style -> field_top_banner
DIV:INNER -> hovedmenu
A:ATTR:href -> website
A:ATTR:href -> mail
> New html template:
Now let's look at this:
DIV:INNER -> hovedmenu
A:ATTR:href -> website
A:ATTR:href -> mail
So, you have both "A"s *inside* DIV, which is mapped as INNER. Mapping
tag as INNER means that you completely replace content of that tag with
something else. So, what you get as a result of this mapping is:
-------------------------
<body>
<div id="wrapper">
<div id="top_frame" style="...">
<div align="center">
</div>
</div>
</div>
</body>
-------------------------
You see? :) INNER removes anything inside the tag, so there is no "A"s
anymore. This is why TV shows exclamation marks.
--
Dmitry Dulepov
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"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