Sounds kinda logical, Jigal.

I will try this and let you know.

-----Oorspronkelijk bericht-----
Van: typo3-english-boun...@lists.typo3.org
[mailto:typo3-english-boun...@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
templavoila

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>
</div>

Regards, Jigal.
_______________________________________________
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

_______________________________________________
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Reply via email to