|
Adaptavist
Categories: Confluence, Featured, Confluence Content
A set of macros for collecting and displaying page ratings.
It has the following notable features:
- Cookie based to detect if someone has voted before (not
supposed to prevent duplicate votings)
- Fully AJAXed
- Multiple {rate}'s per Page (or other ContentEntityObject)
through alphanumeric keys, with the default being the CEO's
id.
- Configurable title
- Themable! You can change the configuration and graphic
files used through a "theme" parameter. There
are two bundled themes: builder [default] and dynamic.
- A "Results only" view which will only render
the results view of the macro
- Results preview ability for those who have not voted (and
the ability to go back to the voting screen)
- Unvoting ability for the already voted
- Clear ability to remove all the votes recorded (resets
cookies too) - this functionality is given to those who
can edit the current page (or are a global / space administrator)
A {rate-table} macro for rendering information in tabular
form, which has the following notable features:
- Default mode of rendering the default key of the current
page CEO
- Ability to specify a different CEO to use (you must know
the CEO's id)
- Ability to specify multiple keys to render
- Confluence Chart Plugin compatable!
- Switches to hide the rating breakdown, and overall rating.
A {rate-report} macro also exists, but is currently unwired
due to the possible abuse it could have. This would have contained
the following functionality:
- Velocity template with a RateHelper class to access data
- Ability to retrieve and process information in an entirely
custom manner
|