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

Tyler Kraft headhunterxiii at yahoo.ca
Thu Jun 14 18:27:26 CEST 2007


The other option is to just render the last link in the menu and wrap it 
with a static link for the first item.

Or break it into a COA item with two menus, one of the first page as a 
menu and then one as a menu of the current/last page



Christopher Torgalson wrote:
> 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 ;-)
> 


More information about the TYPO3-english mailing list