[TYPO3-english] Thinking mistake? (advanced) mapping in templavoila

Paul Rijke paul at rijke.org
Fri Nov 27 08:53:43 CET 2009

Sounds kinda logical, Jigal.

I will try this and let you know.

-----Oorspronkelijk bericht-----
Van: typo3-english-bounces at lists.typo3.org
[mailto:typo3-english-bounces at lists.typo3.org] Namens Jigal van Hemert
Verzonden: donderdag 26 november 2009 23:36
Aan: TYPO3 English
Onderwerp: Re: [TYPO3-english] Thinking mistake? (advanced) mapping in

Hi Paul,

Paul Rijke wrote:
> <div id="sidebar"> => mapped to filed field_sidebar with element type
> content elemens
>                 <div class="nav"> => (currently not cause of error) mapped
> to lib.subMenu
>                 </div>
> </div>

The first mapping of the sidebar will replace the contents of that div 
by the content elements you put in that container.
This directly shows the problem with the subMenu: if the contents of the 
sidebar div are replaced by something else, what can be done with the 
submenu? The div with class "nav" isn't there anymore!

You can do something like:

<div id="sidebar">
   <div id="sidebar-content"> mapped to field_sidebar </div>
   <div id="submenu"> mapped to lib.subMenu </div>

Regards, Jigal.
TYPO3-english mailing list
TYPO3-english at lists.typo3.org

More information about the TYPO3-english mailing list