Uploaded image for project: 'JSPWiki'
  1. JSPWiki
  2. JSPWIKI-100

Displaying a simple count instead of a whole list

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.8
    • Plugins
    • None

    Description

      ReferringPages, RecentChanges and other plugins are displaying (sometime long) lists of pages. On the other side, one may want users to consult those lists regularly. The best way may be to put links in the main page of a Wiki which brings the users to those lists and to put a COUNT nearby the link so the user see that there are new entries.

      Example:
      Let suppose you use [Category Discussion] in some pages of your site.
      You make a CategoryDiscussion page containing:

      !!!Pages under peer scrutiny:
      [

      {INSERT ReferringPagesPlugin exclude='Main,leftmenu,LeftMenu,Category*'}

      ]

      You want to show "Category Discussion: nnn pages" on your main page (nnn being the number of pages containing [Category Discussion].

      By the way, apart from the simple count, the latest modification date of the pages in the list would also be a very nice information. It would then be possible to display:
      [Category Discussion] nnn pages, last modified 2007/12/13 14:56

      Attachments

        1. JSPWiki-100-junittests.patch
          4 kB
          Harry Metske
        2. JSPWiki-100.patch
          8 kB
          Harry Metske
        3. ASF.LICENSE.NOT.GRANTED--christophe_dupriez.vcf
          0.5 kB
          Christophe Dupriez

        Activity

          People

            metskem Harry Metske
            christophedupriez Christophe Dupriez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: