[TYPO3-english] Optimized tt_news usage?
jochem nabuurs
jochem at roquin.nl
Fri Apr 23 09:56:12 CEST 2010
Rob De Vries wrote:
> Hey Joel,
>
>
> If you make a sysfolder for every news cat, you then can restrict your
> editors to only their sysfolder.
>
> there is also an ext that automaticly adds the news cat to a news item
> that is added in a certain sysfolder, thus your editors can't forget
> to add a news cat.
>
> just some thoughts.
>
> Rob
You don't need to use an extension for this. Just use page TSconfig for
it. Add the following line to the page TSconfig of the news sysfolder(s):
TCAdefaults.tt_news {
// Set the default category to cat with id 4
// Make sure that the categoryfield is visible to the user, //
otherwise it won't be set
category = 4
}
// Also handy:
// Single pid voor preview
// This enables previewing of news with the "save and preview" button.
tx_ttnews.singlePid = 38
// Clear cache of news overview and single view
// so newsitems will be visible in FE
TCEMAIN.clearCacheCmd = 33,38
Hope this helps.
Kind regards,
Jochem Nabuurs
Roquin E-Solutions
The Netherlands
More information about the TYPO3-english
mailing list