[Typo3] Bredcrumbs $ tt_news

Patxi Goitia pgoitia at euskalnet.net
Wed Oct 12 12:02:03 CEST 2005


Hi Francois,

I've tried this:

temp.breadcrumbs = COA
temp.breadcrumbs.1 = HMENU
temp.breadcrumbs.1.special = rootline
temp.breadcrumbs.1.special.range = 0|-1

temp.breadcrumbs.1.1 = TMENU
temp.breadcrumbs.1.1 {
NO.linkWrap = <span class="breadcrumbs"> | </span>&nbsp;&#187;&nbsp;
}

temp.breadcrumbs.2 = RECORDS
temp.breadcrumbs.2 {
dontCheckPid = 1
tables = tt_news
source.data = GP:tt_news|tt_news
conf.tt_news = TEXT
conf.tt_news.field = title
wrap = <strong> | </strong>
}

It obviously does something, because the page name of page hosting news 
plugin doesn't appear in breacrumb, but that is, now I have no news page 
nor title of news...

is my code inside *temp.breadcrumbs.2 {* wrong ?

TIA

Francois Suter wrote:
> Hi,
> 
> This should work with a COA.
> 
>> 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>&nbsp;&#187;&nbsp;
>> }
> 
> 
> temp.breadcrumbs = COA
> temp.breadcrumbs.1 = HMENU
> temp.breadcrumbs.1.special = rootline
> ....
> temp.breadcrumbs.1.1 = TMENU
> ....
> 
>> [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>
>> }
> 
> 
> temp.breadcrumbs.2 = RECORDS
> temp.breadcrumbs.2 {
> ....
> }
> 
> HTH
> 
> François Suter
> Directeur technique
> -----------------------------------------------------
> Cobweb Development Sàrl
> www.cobweb.ch
> -----------------------------------------------------



More information about the TYPO3-english mailing list