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

Enhance the Index Plugin to filter Pages, Attachments and Users

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.10.1
    • Fix Version/s: None
    • Component/s: Core & storage
    • Labels:
      None

      Description

      Currently this plugin displays All pages in the wiki.

      At the top is a "Index Bar" which shows the Alphabetical Index A-Z center aligned. I'm wondering if we could move this to the left (with appropraite margin/padding), and add a Filters section, such as:

      • Filters: All | Pages | Users | Attachments

      Note: Only one of the options could be selected at a time.

      Options are:

      • All - as per current implementation
      • Pages - remove all users and attachments
      • Users - Only show "Users" pages (i.e. where the pagename matches the username in the database)
      • Attachments - Only show pages which are attachments

      I think this may require a little bit of medium/advanced Javascript programming, but would be a good way to enhance this plugin.

      Another option (not including Javascript) might be to for this plugin to just take a parameter, e.g. "filter=users". And then you have have the plugin multiple times on the page with categories.

      !Pages
      [{IndexPlugin filter=pages}]
      !Users
      [{IndexPlugin filter=users}]
      !Attachments
      [{IndexPlugin filter=attachments}]
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dvittor David Vittor
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: