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

Tyler Kraft headhunterxiii at yahoo.ca
Fri Jun 15 12:10:36 CEST 2007


I think ti would be


doNotShowLink = 1 || 0 |*| 1 |*| 0


Tomasz Chmielewski wrote:
> Christopher Torgalson schrieb:
> 
>> I couldn't resist testing this because if it worked it would be very,
>> very cool. Turns out it works fine, but you will have to adjust your
>> wraps--if you don't, the TMENU will render wraps for every menu item
>> even though most of them are not shown. The following is tested and
>> working:
>>
>> page.100 = HMENU
>> page.100 {
>>     1 = TMENU
>>     1 {
>>         noBlur = 1
>>         wrap = <ul>|</ul>
>>        
>>         NO {
>>             doNotShowLink = 0 |*| 1 |*| 0
>>             wrapItemAndSub = <li>|</li> |*| | |*| <li>|</li>
>>         }
>>     }
>> }
> 
> I also had to add "special = rootline", otherwise, it would show the 
> last item from the tree, not subtree (or perhaps I didn't formulate my 
> question clear enough).
> 
> Then, I realized I don't want to show the first and the last item, but 
> second and the last. Which then made me try different "doNotShowLink" - 
> in the end, I think I fail to understand how it works.
> 
> So, supposing we want to start showing the second item, we would change 
> the original (first+last):
> 
> doNotShowLink = 0 |*| 1 |*| 0
> 
> into:
> 
> doNotShowLink = *| 1 |*| 0
> 
> 
> In that case, indeed et starts from the second item, but also contains 
> all other items.
> 
> Could anyone give me some examples which would help me understand how it 
> works?
> i.e., I want to show:
> - first+last (we have it already)
> - second+last
> - second+third
> - second+next-to-last
> 
> 


More information about the TYPO3-english mailing list