Tense Index: Templates: filenew
Inserts its value if the file is considered new. It must appear inside of a <tenseindex:files> tag.
Attributes
time: the time in which to consider the file new. if it is set to “-2 days”, files modified in the past two days will be shown as new. “-1 month”, and “-12 hours” are among other options. The default is “-1 week”.
value: the value to insert if the file is considered new. The default is “New”
oldvalue: the value to insert if the file is not new. The default is “ ”, a non-breaking space.
Example
<tenseindex:filenew time="-1 month" value="NEW!" />
Last updated April 02nd, 2006
You are here: Tense Code: Tense Index: Templates: filenew
Can't find what you're looking for? View a complete site map.
Can't find what you're looking for? View a complete site map.