[TYPO3-english] Share news in a multisite environment

Edern Appéré edern.appere at unistra.fr
Thu Mar 26 14:22:02 CET 2009


Steffen Gebert a écrit :
> Edern Appéré wrote:
>   
>> we'd like to share news between two websites
>> but the same news should have different start/stop dates depending on
>> each website. We want to do this in order to avoid having to insert and
>> type each news twice (and to avoid the risk of having one news
>> up-to-date and not the other one if, for instance, we have to make some
>> changes to it).
>>     
>
> You can hook into selectConf (i think it's called so) and there modify the 
> executed SQL query based on your needs (e.g. if one site shows all news 1 
> day before the other one, set this in the tt_news plugin - if you want to 
> set specific dates for the sites, add fields to tt_news and add the conditions 
> for this field in the selectConf hook.
>
> Sorry for the imprecise answer, I'm a bit in a hurry...
>
> Steffen
>   
An answer in a hurry is always better than no answer at all ! Thanks for 
giving me this clue.
Thanks to your mail I've found some information in the tt_news 
documentation which seems to be connected to what you wrote :
http://typo3.org/documentation/document-library/extension-manuals/tt_news/2.5.2/view/1/9/ 



More information about the TYPO3-english mailing list