[TYPO3] Re: [Typo3] Bredcrumbs $ tt_news
Oliver
oliver at liquidlight.co.uk
Fri Nov 10 12:40:59 CET 2006
Hi Patxi,
Use the following TS:
### Breadcrumb ###
lib.breadcrumb=COA
lib.breadcrumb {
wrap = <div id="breadcrumb"> | </div>
10 = HMENU
10 {
special = rootline
special.range = 0|-1
1 = TMENU
1.CUR = 1
1.NO {
stdWrap.htmlSpecialChars = 1
stdWrap.field = title
linkWrap = ||*| » |*|
}
}
}
[globalVar = GP:tx_ttnews|tt_news > 0]
lib.breadcrumb.20 = RECORDS
lib.breadcrumb.20 {
dontCheckPid = 1
tables = tt_news
source.data = GPvar:tx_ttnews|tt_news
conf.tt_news = TEXT
conf.tt_news.field = title
wrap = » |
}
[else]
lib.breadcrumb.10.1.CUR < lib.breadcrumb.10.1.NO
lib.breadcrumb.10.1.CUR {
doNotLinkIt = 1
}
[end]
--
Oliver Rowlands
:: Liquid Light ::
E - oliver at liquidlight.co.uk
W - http://www.liquidlight.co.uk
T - 00 44 (0)845 6 58 88 35
F - 00 44 (0)845 6 58 44 35
Patxi Goitia wrote:
> Hi, I'd like to have the news title at the end of my breadcrumb.
>
> I've been searching, but I only found questions without answers...
>
> I don't know if somebody has managed to do it.
>
> This is the configuration I use:
>
> temp.breadcrumbs= HMENU
> temp.breadcrumbs.special = rootline
> temp.breadcrumbs.special.range = 0|-1
> temp.breadcrumbs.1 = TMENU
> temp.breadcrumbs.1 {
> NO.linkWrap = <span class="breadcrumbs"> | </span> »
> }
>
> And I don't know where to put:
>
> [globalVar = GP:tt_news>0]
> temp.breadcrumbs = RECORDS
> temp.breadcrumbs {
> dontCheckPid = 1
> tables = tt_news
> source = 21
> conf.tt_news = TEXT
> conf.tt_news.field = title
> wrap = <strong> | </strong>
> }
>
> TIA
More information about the TYPO3-english
mailing list