Item13031: Create SocialFormfieldsPlugin

pencil
Priority: Enhancement
Current State: Confirmed
Released In: n/a
Target Release:
Applies To: Extension
Component: SocialFormfieldsPlugin
Branches: master
Reported By: MichaelDaum
Waiting For:
Last Change By: GeorgeClark
This is going to be a plugin that allows you to have DataForms formfields of the kind

  • socialrating
  • socialradio
  • socialselect

and the like. The difference to the "non-social" formfield types - rating, radio and select - is that the social ones will allow any user to have their own value set. So whenever user A edits a topic with a socialrating formfield in the attached DataForm will he see and edit his own value. User B won't be able to change the value that user A has entered when it is his turn to edit the topic. Instead, values added by all users will be stored in a database behind the scene that holds the personal values of each user. These will be swapped in and out during an edit-save cycle. Viewing the topic will display an average rating among all ratings performed by all users, or the best selection performed via a socialradio or socialselect formfield. Values can also be extracted in json form to be used in HighchartsPlugin or the like to render a bar chart of the distribution.

-- MichaelDaum - 18 Sep 2014

 
Topic revision: r3 - 24 Dec 2014, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy