[TYPO3-english] Re : Optimized tt_news usage?

jochem nabuurs jochem at roquin.nl
Mon Apr 26 09:07:27 CEST 2010


You can add a news plugin to that page and set the starting page to the 
main news sysfolder and set the value of recursive to 1. Now, all 
sysfolders under the main news sysfolder will be included in the results.

Kind regards,

Jochem Nabuurs


joel zimmerli wrote:
> Hi,
> Thanks for your replies. Unfortunately, I think my initial question/explanation was not so explicit. Based on your both explanation I did not understand whether I need to define separate sysfolders (one for every section redactor) or not. In all these sysfolders, redactors will be able to define their own structure/categories.
> If this is the right way, how it is possible to get on the homepage + all "general" pages a list of the latest 5-6 news comming from all these sysfolders?
> Hope you can help me.
> Regards,
> BD
> 
> 
> 
> 
> 
> ________________________________
> De : jochem nabuurs <jochem at roquin.nl>
> À : typo3-english at lists.typo3.org
> Envoyé le : Ven 23 avril 2010, 9 h 56 min 12 s
> Objet : Re: [TYPO3-english] Optimized tt_news usage?
> 
> 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
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
> 
> 
> 
>       


More information about the TYPO3-english mailing list