[TYPO3] Current Menu

Marek Matis marek.matis at gmail.com
Tue Jun 26 16:32:11 CEST 2007


Hi Georg

thank you very much for answer on my stupid question. I already tried
"entryLevel = -1" but I hat to make somewhere mistake. Now its working
perfectly.
I am not planing site with 100 levels, those was only example :) but I
planning relay big site for ads (Classifieds).

Marek


2007/6/26, Georg Rehfeld <georg.rehfeld at gmx.de>:
>
> Hi Marek,
>
> > * Level 1
> > ** Level 2
> > *** Level 3
> > **** Level 4
> >
> > When I am in e.g. level 1 I want show only level 1. When I am in level 3
> I
> > want show only level 3.
> > I can do this with condition.
> >
> > [treeLevel = 3]
> > .....entryLevel = 3
>
> The simple answer is: forget about conditions for that job, just use
>
> .....entryLevel = -1
>
> > But with e.g. 100 level I will need 100 conditions.
>
> So you are planning a really big site, where you expect users to click
> 100 times on menu entries, until they then (phhh) finally arrive at
> some useful content ... good luck with _that_ concept. Expect me to be
> the first one to test it :-) !
>
> > Exists something like "entryLevel = <current level>".
>
> See above.
>
> > It looks like easy thing, but I don't have idea how do it.
>
> I (we all) see (and all future archive readers as well ... ooops).
>
> You might consider reading some docs, maybe? I _know_, that's annoying,
> but in this respect, TYPO3 is _not_ for free. You could have just
> clicked that |TS| icon below/near your TS Setup field, to directly
> inspect the TypoScript reference while editing your setup. But to be
> helpful, here is the link to the appropriate HMENU online doc:
>
>
> http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/8/11/
>
> Search for and reread the 'entryLevel' text. Translate that 'outermost
> level' to 'the page you are on'.
>
> And, yes, the 'TSref' is hard to read/understand sometimes, unless you
> have read (plenty of the) other documentation.
>
> But please note: _most_ of the available documentation was written by
> that great man Kasper, who also did most of the core code/concept, so he
> was constantly under time pressure and couldn't do much more than just
> delivering the essential/raw documentation. And thus it is unbelievable,
> what that single man was and is able to do.
>
> For some unknown reason _nobody_ else ever tried to reformulate his raw
> docs into something more understandable (in these areas, where they are
> _still_, after years of core development, hard to understand).
>
> HTH, Georg
> --
>    ___   ___
>   | + | |__    Georg Rehfeld      Woltmanstr. 12     20097 Hamburg
>   |_|_\ |___   georg.rehfeld.nospam at gmx.de    +49 (40) 23 53 27 10
>
>                (Delete .nospam from mail address)
> _______________________________________________
> 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