[TYPO3-ttnews] Add title to breadcrumb trail?
Benjamin Mack
benni at typo3.org
Fri Jun 6 16:31:28 CEST 2008
Hey Bob,
thanks for testing. I just added a blog entry about this so I won't
forget about it:
http://www.typo3tricks.com/
have a great weekend!
benni.
-SDG-
Bob wrote:
> Thank you! That works perfectly. :)
>
> I'm going to have to analyse that line by line so that I can do similar
> things in future (I'm quite new to TYPO3).
>
> And you were right, I didn't even need the "TSFE:id = 123" - which is
> handy, as that means it should work automatically on any other pages I
> add tt_news to.
>
> Thanks again,
>
> Bob
>
>
> Benjamin Mack wrote:
>> Hey Bob,
>>
>> hopefully your breadcrumbs menu looks like this:
>>
>>
>> lib.breadcrumbs = COA
>> lib.breadcrumbs.10 = HMENU
>> lib.breadcrumbs.10 {
>> special = rootline
>> special.range = 1
>> 1 = TMENU
>> 1.noBlur = 1
>> 1.NO.linkWrap = > |
>> }
>>
>> then just add this below
>>
>> [globalVar = TSFE:id = 123]
>> lib.breadcrumbs.20 = RECORDS
>> lib.breadcrumbs.20 {
>> dontCheckPid = 1
>> tables = tt_news
>> source.data = GPvar:tx_ttnews|tt_news
>> conf.tt_news = TEXT
>> conf.tt_news.field = title
>> conf.tt_news.required = 1
>> conf.tt_news.wrap = > |
>> }
>> [GLOBAL]
>>
>> don't know it it works though. just completely written from the top of
>> my head. TSFE:id = 123 is the page where the SINGLE tt_news plugin is
>> added. But maybe it is not even needed because I added the required = 1.
>>
>> Bob wrote:
>>> Hi,
>>>
>>> If I have a page that shows a SINGLE News item, is there any way to
>>> add the title of this item to the breadcrumb trail? The title ends up
>>> in the TITLE tag of the page, but not in the breadcrumb trail...
>>>
>>> Thanks,
>>>
>>> Bob
>>
More information about the TYPO3-project-tt-news
mailing list