[TYPO3] breadcrumbs / HMENU site navigation - I don't want link to the current page

Christopher Torgalson bedlamhotel at gmail.com
Thu Jun 14 18:16:39 CEST 2007


Hi,

On 6/14/07, Tomasz Chmielewski <mangoo at wpkg.org> wrote:
> Tyler Kraft schrieb:
> > temp.breadcrumbs = HMENU
> > temp.breadcrumbs {
> >               wrap = <ul id="crumbs">|</ul>
> >               special = rootline
> >               special.range = 0|-1
> >
> >               1 = TMENU
> >               1.noBlur = 1
> >               1.NO.stdWrap.htmlSpecialChars = 1
> >               1.NO.stdWrap2.stdWrap.noTrimWrap = | | &gt;&nbsp;|
> >               1.NO.allWrap = <li>|</li>
> >
> >               1.CUR = 1
> >               1.CUR.doNotLinkIt = 1
> >               1.CUR.stdWrap.htmlSpecialChars = 1
> >               1.CUR.linkWrap = <span>|</span>
> >               1.CUR.allWrap = <li>|</li>
> >       }
>
> Hmm, one more question.
>
> If I have such page tree:
>
> page1
>      \page2
>            \page3
>                  \pageN
>
> And I want to render always the first and last page entry? And skip the
> pages in the middle?
>
> page1 > pageN
>
> Is it possible to do it with special.range? I tried, but didn't succeed.


I don't have time to test it, but I believe that optionSplit is
supposed to apply to ALL properties in menuitems; try this:


NO {
  doNotShowLink = 0 |*| 1 |*| 0
}


YMMV ;-)

-- 
Christopher Torgalson
http://www.typo3apprentice.com/


More information about the TYPO3-english mailing list