[TYPO3] horizontal menu kills subparts.content

JoH info at cybercraft.de
Thu Sep 28 23:19:32 CEST 2006

> I've got a problem I've been working through for a couple days.
> I'm trying to add a horizontal dropdown menu to a site. I've most
> recently been working with the suckerfish menu, I've tried M Cohens
> Tuts, and I've even tried implementing some Dreamweaver dropdowns.
> The problem I keep running into is once I get the menu in the template
> and working, it kills my content and i just end up with the
> ###content_left### ###content_right### etc place markers.
> I could include the code for suckerfish but thats pretty much just
> straight off the resources online. I suspect then the problem may lie
> elsewhere. (I've taken over this project and I think I've worked out
> all the legacy bugs.)
> my html is:
> <table width="495px" border="0" align="center" cellpadding="0"
> cellspacing="10" bgcolor="#FFFFFF">
>   <tr>
>     <td colspan="2" valign="top"><div
> id="col_normal">###content_normal###</div></td>
>   </tr>
>   <tr>
>     <td valign="top" width="50%"><div
> id="col_left">###content_left###</div></td>
>     <td valign="top" width="50%"><div
> id="col_right">###content_right###</div></td>
>   </tr>
> </table></
> and my ts is:
>    subparts.content < styles.content.get
>     subparts.content_normal < styles.content.get
>     subparts.content_left < styles.content.getLeft
>     subparts.content_right < styles.content.getRight
> which looks odd to me but it works.
> I've done a thorough amount of research, but there is obviously
> something I'm missing. Any help or direction to resources is
> appreciated.
> Be gentle, I'm a padawan coder.

Well - the problem is that there are no subparts in your template but there
are some marks.
A subpart will always use at least two lines to mark the start and the end
of the subpart.

marks {
    content < styles.content.get
    content_normal < styles.content.get
    content_left < styles.content.getLeft
    content_right < styles.content.getRight

Try this and tell us if it works.


Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.cybercraft.de
T3 cookbook: http://www.typo3experts.com

More information about the TYPO3-english mailing list