"Filtre" with condition

Hello everybody,

I had the following line in one of my BOUCLES:

(#ID_ARTICLE|>{6}|?{[(#DATE|affdate)]:, })

This condition gave me the date for all articles that had a number higher than 6, but not for the others. Unluckily this doesn't work anymore under SPIP 1.9.1. Anyone has an idea what I need to change?

Or is there another way to reach the goal of putting the date only for certain articles?

Simon

--
-----------------------
Simon Schneebeli
078 619 31 18
----------------------

Hi,
I've no idea why your look doesn't work anymore..

You can use something like this :

[
(#ID_ARTICLE|>{6}|?{' ',''})
[(#DATE|affdate)]
]

This always works for me.

.Gilles
---
2007/4/23, Simon Schneebeli <simon.schneebeli@okko.org>:

Hello everybody,

I had the following line in one of my BOUCLES:

(#ID_ARTICLE|>{6}|?{[(#DATE|affdate)]:, })

This condition gave me the date for all articles that had a number
higher than 6, but not for the others. Unluckily this doesn't work
anymore under SPIP 1.9.1. Anyone has an idea what I need to change?

Or is there another way to reach the goal of putting the date only for
certain articles?

Simon

--
-----------------------
Simon Schneebeli
078 619 31 18
----------------------
_______________________________________________
spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en