[TYPO3] Templavoila

Christopher Torgalson bedlamhotel at gmail.com
Tue Apr 1 11:50:45 CEST 2008


On Tue, Apr 1, 2008 at 11:35 AM, Alix Justus <alix.justus at gmail.com> wrote:
> wel i already tryd useing OUTER, it gives me the same nottice. Outer and
>  Inner is working, i also have validate it the html by w3org.


When you map an element, you are usually specifying that it will be
replaced by some kind of content element or Typoscript object. It
usually makes no sense to try to map an element that is INSIDE another
mapped element.

If you need several objects inside one element, the solution is
simple: don't map the container:

<!-- Don't map this! -->
<div id="left_column">

<!-- Map this! -->
<div id="pre_menu_content">
     lorem ipsum dolor sit
</div>

<!-- Map this! -->
<ul id="navigation">
     <li><a href="/foo/">Foo</a></li>
</div>

<!-- Map this! -->
<div id="post_menu_content">
     lorem ipsum dolor sit
</div>

</div>


-- 
Christopher Torgalson
http://www.typo3apprentice.com/


More information about the TYPO3-english mailing list