incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christophe Dupriez (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JSPWIKI-100) Displaying a simple count instead of a whole list
Date Sat, 15 Dec 2007 17:06:43 GMT

    [ https://issues.apache.org/jira/browse/JSPWIKI-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552101
] 

Christophe Dupriez commented on JSPWIKI-100:
--------------------------------------------

I agree that attributes should be consistent with other plugins: you are the one with the
most global view!
BUT, please do not forget that latest modification date/time should also be available.
They could also be a title to the list.

So, what do we do?

Suggestion: to allow max=0 to suppress the list but to keep printing of "before" and "after"
IF there is something in the list.
To allow %d and %c in before= and after= string, %d being the latest modification date and
%c being the count of the pages in the list.
(or you may have another convention somewhere for a parameter within a string)

Thanks!

> Displaying a simple count instead of a whole list
> -------------------------------------------------
>
>                 Key: JSPWIKI-100
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-100
>             Project: JSPWiki
>          Issue Type: New Feature
>          Components: Plugins
>            Reporter: Christophe Dupriez
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message