[TYPO3-ttnews] datetoarchive when two contenelements on 1 page
René Bing
rene at bing-in-sayn.de
Wed Oct 1 23:08:06 CEST 2008
Hi Oliver,
i have the same problem like Eef. unfortunately i don't understand your
instructions =/
is it possible to get this working with conditions like that?
[globalVar = TSFE:tt_content|uid = 37]
plugin.tt_news.datetimeDaysToArchive = 3
[else]
plugin.tt_news.datetimeDaysToArchive = 0
[end]
regards
René
Oliver Rowlands schrieb:
> Hi Eef,
>
> The only way you will be able to achieve this is by modifying tt_news.
>
> Since the date to archive configuration settings are set in TS it is not
> possible to target a specific plugin when more than one plugin is
> present on any given page.
>
> You will need to modify the 'flexform_ds.xml' to include the
> 'datetimeDaysToArchive' as one of the plugin settings then modify
> 'class.tx_ttnews.php' to override the TS value.
>
> Best regards,
>
> Oliver
>
> H.E.Weenink | Aristo WebDesign wrote:
>> Hello,
>> I have two plugins on 1 page. And they should have different
>> datetoarchive. I know how to do this with templates if on 2 pages, but
>> how to get this done if both are on 1 page, using templavoila?
>> Regards, Eef
>
>
More information about the TYPO3-project-tt-news
mailing list