[TYPO3] Display Page Location with TypoScript in Template

StephenBungert stephenbungert at yahoo.de
Tue Jul 29 15:58:57 CEST 2008


Here is a post about breadcrumb trails:

http://www.nabble.com/Customized-breadcrumb-required-to18211342.html

and here is a tutorial about them:

http://www.mcuniverse.com/Breadcrumbs.48.0.html



Sebastian Baciu wrote:
> 
> Hi List,
> 
> I have recently incorporated a feature that builds a small replica of the
> page tree on each site, showing the user where they are, for example Root
> >
> Page 1 > Subpage 1. The Typoscript i am using to achieve this is shown
> below:
> 
> lib.inttitle = COA
> lib.inttitle {
>   10 = HTML
>   10 {
>     value.data = leveltitle:-3
>   }
> 
>   20 = HTML
>   20 {
>      value =  > 
>   }
> 
>   30 = HTML
>   30 {
>     value.data = leveltitle:-2
>   }
> 
>   40 = HTML
>   40 {
>      value =  > 
>   }
> 
>   50 = HTML
>   50 {
>     value.data = page:title
>   }
> }
> 
> There is an issue however, whenever i view the root page...then the user
> sees: Root > Root > Root. The same occurs if i view a second level page,
> then the user sees: Root > Root > Page. Basically, the only time this
> works
> (properly) is when i view a third level page. What kind of conditional
> system can i implement so that these "unnecessary" level titles dont show
> up?
> 
> Thanks in advance,
> 
> Sebastian
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> 
> 


-----
-- 
Stephen Bungert
-- 
View this message in context: http://www.nabble.com/Display-Page-Location-with-TypoScript-in-Template-tp18712633p18712808.html
Sent from the TYPO3 English mailing list archive at Nabble.com.



More information about the TYPO3-english mailing list