It’s new Documentation
Installation:
Unzip the archive and copy the file pi.itsnew.php into the plugins-directory inside your Expression Engine system-directory.
Example:
{exp:itsnew date="{entry_date}" days="10"}
<img src="new.gif" />
{/exp:itsnew}
Parameters:
date="{entry_date}"
This one is mandatory.
days="10"
Optional. Number of days to compare against entry_date. Defaults to 30.
Questions / bug reports
For general comments, brickbats & bouquets please use the form over here.Page 1 of 1 pages
User Talk
Josh:
2010-04-09 20:06
2010-04-09 20:06
This is great thanks. Is there a way where this can show whats been updated in the last n days?
Simon Cox:
2009-05-08 14:58
2009-05-08 14:58
Hi - just installed your It’s new plug in and I was getting “Undefined variable: str” for line 54. Appears that str is undefined before you define it. I added $str = ‘’; into line 53 and it then worked great. (though I am no PHP progreammer so I don’t know if this is the best way to fix it!)
Cheers
Simon