Templates: Juneindex: filenew

This documentation was updated on Tuesday, February 24, 2009 at 6:13 AM

Inserts its value if the file is considered new. It must appear inside of a <juneindex: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 “&nbsp;”, a non-breaking space.

Example

<juneindex:filenew time="-1 month" value="NEW!" />

You are here: Junecode: about: design templates: juneindex: filenew
This site was created with Junecode. Copyright © 2010–2023 Junecloud LLC.