NP_NewItem.php

This plugin display a [New!] tag (or icon) by any new items since last visit.

General Plugin info
Current Version: v1.5
Download: click here
Code: n/a
Demo: n/a
Forum Thread: forum here

Installing

  1. Download the code
  2. Unzip and uplaod the files to plugin directory
  3. Install from plugin admin menu
  4. Enabled setting of lastVisit cookie from the global setting
  5. Add <%NewItem%> in the item template used by the main page. ie after title

History

  • v1.0
    • Initial version
  • v1.1
    • bug fix on dateString == itime for new item (lastVisit cookie is updated on each reload…..)
  • v1.2
    • add configuration menu to configure the use of icon
  • v1.3
    • Fixed XHTML 1.0 warning
    • Fixed disabled cookie bug
    • Added sessionStart cookie to allow persistent until end of session (Thanks to Wolf for suggestion!)
    • use sql_table()
    • add supportsfeature('tableprefix') { return true }
  • v1.3a
    • add min version support
  • v1.4
    • auto new.gif path
    • option to change [NEW!!!]
  • v1.5
    • use sql_query()

Plugin review

NP_NewItem version 1.5 works with Nucleus CMS 3.31 - 2007-10-29 admun

newitem.txt · Last modified: 2007/10/29 16:31 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki