[TYPO3-english] [TYPO3-UG English] Typoscript date check

René van Densen statusnil at gmail.com
Fri Aug 28 16:40:37 CEST 2009


Hi David,

taking them outside of the brackets is an issue, this check really should
only be with tt_news single view...

I've taken your advice up and am now looking at "if" as an alternative
route. The if syntax however is confusing to say the least.
In any case, this isn't doing anything:

plugin.tt_news {
       displaySingle {
                weekday.if {
                                        value = 1
                                       # If Monday, define a certain value
                }
                etc.
      }
}

Which brings me back to: how to 'catch' the weekday value of a tt_news item
:(

René

On Fri, Aug 28, 2009 at 4:14 PM, David Bruchmann
<typo3-en at bruchmann-web.de>wrote:


> Hy Rene,
>
> Conditions inside brackets aren't allowed and do not work.
>
> When you've changed that and it doesn't work too I propose to use a
> userfunction :
> [userFunc = user_match(checkDayofweek)]
> I didn't work with that, so you've to test how to do exactly.
>
> But first try to note your conditions outside the brackets.
>
> Best Regards
> David
>
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>


More information about the TYPO3-english mailing list