[TYPO3-ttnews] How to prevent displaying certain news in SINGLE view?
Oliver Rowlands
oliver at liquidlight.co.uk
Sun Jul 11 14:04:30 CEST 2010
Hi Marcus,
You will need to split your news articles into separate folders in TYPO3
then use the "pid_list" constant (or flexform override) to restrict
which folders the EXT:tt_news plugin is allowed to retrieve articles from.
Best regards,
Oliver
Marcus 'biesior' Biesioroff wrote:
> ellou' List!
>
> I need to prevent displaying some tt_news items on some SINGLE views.
> For an example I have two sections Office news (with uids 1,2,3) and
> Workshop news (with uids 7,8,9)
>
> Generating LIST view with proper singlePid for each section isn't a
> problem of course, however it is possible to display Office news in
> Workshop SINGLE view and vice versa by manual inserting the 'wrong' path
> in the address bar, ie.:
>
> /office/article?tx_ttnews[tt_news]=8
> /workshop/article?tx_ttnews[tt_news]=3
> /news-from-quite-other-branch/read?tx_ttnews[tt_news]=1
>
>
>
> Will be grateful for any advices!
>
> Greetings!
>
--
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
More information about the TYPO3-project-tt-news
mailing list