[Typo3] TypoScript: link to next page in page tree

tapio tapio.markula at dnainternet.net
Tue Jun 14 08:32:14 CEST 2005

Torsten Schrade wrote:
> Pieter Jelle wrote:
>>Hello all
>>I've been looking at this for a while, but can't seem to figure out how
>>to deal with this: I'd like to set up a link (in TypoScript) to the next
>>page on the same level in the page tree (next sibling). Can anyone give
>>me any hints on how to do this? Any help would be most appreciated.
>>Best regards
>>Pieter Jelle
> Hi Pieter,
> have a look at HMENU's special=browse property in TSRef:
> http://typo3.org/documentation/document-library/doc_core_tsref/HMENU-1/
> Something like this should point you in the right direction:
> page.99 = HMENU
> page.99.special = browse
> page.99.special {
>   items = prev|next
>   items.prevnextToSection = 1
>   prev.target = _self
>   next.target = _self
> }
> page.99.1 = TMENU
> page.99.1.NO.allWrap=|*|<span>prev:&nbsp;|</span>||<span>next:&nbsp;|</span>|*|
> greets, Torsten

There is also an extension for This - and it takes account, if some page
is not in menu and it can go to the parent page, if necessary - Tapio

More information about the TYPO3-english mailing list