[TYPO3] Sitemap can't be rendered with css in typo3 4.0?

Harald Klotzberg harald.klotzberg at netzbewohner.de
Mon May 15 21:55:10 CEST 2006


Hi again,

TSRef HMENU entryLevel says:

Defines at which level in the rootLine, the menu should start.
Default is "0" which gives us a menu of the very first pages on the site.
If the value is < 0, entryLevel is chosen from "behind" in the rootLine.
Thus
"-1" is a menu with items from the outermost level, "-2" is the level before
the outermost...

Get TSRef, this Document is your Friend :)

A Sitemap works exactly like a "normal" menu,
you can wrap whatever you like.

on a naked 4.0 the tt_content.menu looks different as you wrote i think.
have you tried the code i´ve sent?
have you overwritten something in your TS-Setup?

are you sure it´s tt_content.menu = case
not tt_content.menu.20 = case?

you can leave everything standard, but wrap <ul..> stuff around each level
with the code blow ...

should work out of the box,
never had probs with it


grzt, harry

-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of Matyi Gábor
Sent: Monday, May 15, 2006 9:36 PM
To: TYPO3 English
Subject: Re: [TYPO3] Sitemap can't be rendered with css in typo3 4.0?


2006. május 15. 20.25 dátummal Harald Klotzberg ezt írta:
> Hi Matyi,
>
> use the standard Typo Sitmap with this in your TS-Setup and it should
> work
>
> # SITEMAP Wrap
> tt_content.menu.20.entryLevel = -1
> tt_content.menu.20.2.1.wrap = <ul class="l1">|</ul>
> tt_content.menu.20.2.2.wrap = <ul class="l2">|</ul>
> tt_content.menu.20.2.3.wrap = <ul class="l3">|</ul>
> tt_content.menu.20.2.4.wrap = <ul class="l4">|</ul>
> tt_content.menu.20.2.5.wrap = <ul class="l5">|</ul>
> tt_content.menu.20.2.6.wrap = <ul class="l6">|</ul>
> tt_content.menu.20.2.7.wrap = <ul class="l7">|</ul>
>

Thanks. First I saw with the object browser my root template. I see this.

tt_content.menu = CASE
tt_content.menu.1 = HMENU 
tt_content.menu.1.wrap = <div class="csc-menu csc-menu-1">|</div>
tt_content.menu.2 = HMENU 
tt_content.menu.2.wrap = <div class="csc-menu csc-menu-2">|</div>
tt_content.menu.2.1 = TMENU
tt_content.menu.2.1.NO.allWrap = <p class="csc-sitemap 
csc-sitemap-level1">|</p>
tt_content.menu.2.2.NO.allWrap = <p class="csc-sitemap 
csc-sitemap-level2">|</p>
tt_content.menu.2.2 = TMENU
tt_content.menu.2.3 = TMENU
tt_content.menu.2.4 = TMENU
tt_content.menu.3 = CONTENT
tt_content.menu.3.wrap = <div class="csc-menu csc-menu-3">|</div>
..
..
..

This means, that my tt_content.menu is configured. What I don't understand, 
if I create a sitemap page content why don't put the sitemap these <div 
class="csc-menu csc-menu-1"> to my generated html file. I see just this 
<div class="csc-sitemap">.


But this row is missing. : tt_content.menu.20.entryLevel = -1 

What does this do?

Thanks Gabor Matyi
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english




More information about the TYPO3-english mailing list