[TYPO3-ttnews] Hide current displayed news in sidebar list (tx_news)

Laurent Cherpit laurent.cherpit at gmail.com
Mon Feb 4 16:58:25 CET 2013


Hi,

Depend on the news version (v1.4 not sure or 2), you could use the
excludeDisplayedNews viewHelper to exclude an already displayed news in
the current page.

Put in Detail view template:

<n:excludeDisplayedNews newsItem="{newsItem}" /> 

and enable the related option setting in the list plugin.

Bests!
Laurent

> Huf Daniel <mailto:d.huf at theoreme.ch>
> 4 février 2013 16:41
> Hi,
>
> I have a news list in a sidebar of my site and I'd like to hide the
> news from the list while displaying it as detail.
>
> Where is the best place to add it now ?
> - TYPOSCRIPT (hideCurrentDisplayedRecordInListView = 1 ;) )
> - Fluid condition (is it possible ?)
> - Use a hook (shouldn't it be a standard us ?)
>     - how do you hook now after all the changes, any good tutorials?
>
> I'm quiet new to the ExtBase and Fluid implementation, so sorry for
> the maybe dumb question.
>
> Thanks for your reply,
> Daniel
> _______________________________________________
> TYPO3-project-tt-news mailing list
> TYPO3-project-tt-news at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-tt-news


More information about the TYPO3-project-tt-news mailing list