[TYPO3] Menu not rendered

Eric Thelander 3d-telis at home.se
Tue Oct 16 08:58:15 CEST 2007


Hello Joey

You're right, that bad guy was the reason why the menu block wasn't generated inside a table. However the menu is still being renderd at the wrong place. The output is placed directly after the body tag, it's almost as if the TS markup is being ignored during the rendering process. Any ideas?

/Eric

> Från: "JoH asenau" <info at cybercraft.de>
> Till: typo3-english at lists.netfielders.de
> Rubrik: Re: [TYPO3] Menu not rendered
> Datum: Mon, 15 Oct 2007 23:47:12 +0200

> > I solved the problem with my menu not being rendered. A complete redo
> > of the tsSetup solved it but now I've stumbled onto another problem.
> >
> > I want to place the generated menu inside a table to be able to
> > adjust the layout. In my html file I've placed a markup that will be
> > replaced by the menu. The problem is that when I view the resulting
> > html source the menu is inserted at another line outside the table.
> > Does anybody know the cause of this?
> >
> > tsSetup:
> >
> > left.5.1.NO {
> >  wrap = <table border="0" table width = 100%> | </table>
>      ^^^
> This one is the bad guy.
> 
> Well - there might be some more bad guys when looking at your code from a
> more accessible point of view, but this one is the cause for the current
> trouble you got ;-)
> 
> There is no "wrap" for the NO state of a TMENU so move the wrap from the NO
> section up to the TMENU section and it should be working as expected.
> 
> The current setup will try to render <tr><td>whatever</td></tr> into an
> existing <td> without any surrounding <table> which is no good idea at all
> even when you are still doing table based layouts.
> 
> HTH
> 
> Joey
> 
> -- 
> Wenn man keine Ahnung hat: Einfach mal Fresse halten!
> (If you have no clues: simply shut your gob sometimes!)
> Dieter Nuhr, German comedian
> openBC/Xing: <a target="_blank"
> href=http://www.cybercraft.de>http://www.cybercraft.de</a>T3 cookbook: <a
> target="_blank"
> href=http://www.typo3experts.com>http://www.typo3experts.com</a>
> 
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> <a target="_blank"
> href=http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english>http
> ://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english</a>

Pia och Lasse träffades på Spray Date. Läs deras och andras kärlekshistorier på  http://spraydate.spray.se


More information about the TYPO3-english mailing list