From version 750.1
edited by Silvia Macovei
on 2020/09/10 13:26
To version 751.1
edited by Silvia Macovei
on 2020/09/10 13:34
Change comment: There is no comment for this version

Summary

Details

ExtensionCode.ExtensionClass[0]
Description
... ... @@ -1,10 +3,8 @@
1 -{{extensionToc/}}
2 -
3 3  This application is a very simple multiple choice poll similar to doodle. It supports voting without edit rights.
4 4  
5 -== Home page ==
3 +{{image reference="viewActivePoll.png" width="900"/}}
6 6  
7 -In order to access the home page of the application, the users have to look for **Polls** entry in the Applications panel located by default in the left panels section of the page:
5 +In order to access the home page of the application, the users have to look for the **Polls** entry in the Applications panel located by default in the left panels section of the page:
8 8  
9 9  {{image reference="applicationsPanel.png" width="250"/}}
10 10  
... ... @@ -12,53 +12,7 @@
12 12  
13 13  {{image reference="viewPolls.png"/}}
14 14  
15 -== Create new poll ==
16 16  
17 -In order to create a new idea, click **Create** button from the top of the page and the next step will display a list of available templates where you can find the one corresponding to polls.
18 -
19 -{{image reference="createPoll.png" width="720"/}}
20 -
21 -{{image reference="editPoll.png" width="900"/}}
22 -
23 -== Voting interface ==
24 -
25 -In order to allow voting on a poll, its status has to be set to **Active**, the default value being **In preparation**.
26 -
27 -{{image reference="viewActivePoll.png" width="900"/}}
28 -
29 -== Recent Polls Macro ==
30 -
31 -This macro also lists the most recent created polls, but, unlike the livetable, no actions can be performed on this list. There are 2 ways of using a macro in a wiki page as also described in [[Writing Macros>>http://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/Tutorials/WritingMacros/WikiMacroeTutorial/#HHelloMacro]] documentation:
32 -
33 -=== Using the macro from WYSIWYG editor ===
34 -
35 -Edit a wiki page in WYSIWYG mode and look in the tool bar for the {{velocity}}$services.icon.render('cog'){{/velocity}} icon (XWiki Macro) then search for **Recent Polls** and set the number of polls to be displayed.
36 -
37 -{{gallery}}
38 - image:selectCog.png
39 - image:selectMacro.png
40 - image:setLimit.png
41 -{{/gallery}}
42 -
43 -=== Using the macro from wiki editor (code) ===
44 -
45 -Edit the page in wiki mode and write the following code snippet:
46 -
47 -{{code}}
48 -{{pollsrecent limit=10 /}}
49 -{{/code}}
50 -
51 -Where the macro parameter **limit** is the maximum number of polls that you want to be displayed on your page. Its default value is 5.
52 -If, instead, you don't want to set a maximum number of polls, remove the limit parameter and all of them will be displayed.
53 -
54 -This is how it will look like before adding polls:
55 -
56 -{{image reference="viewRecentNoPolls.png"/}}
57 -
58 -And after adding them:
59 -
60 -{{image reference="viewRecentPolls.png"/}}
61 -
62 62  == External Resources ==
63 63  
64 64  {{html}}
Store.Code.PayingAppsClass[0]
Documentation
... ... @@ -1,0 +1,50 @@
1 += Topics =
2 +
3 +{{toc start="2"/}}
4 +
5 +== Create new poll ==
6 +
7 +In order to create a new idea, click **Create** button from the top of the page and the next step will display a list of available templates where you can find the one corresponding to polls.
8 +
9 +{{image reference="createPoll.png" width="720"/}}
10 +
11 +{{image reference="editPoll.png" width="900"/}}
12 +
13 +== Voting interface ==
14 +
15 +In order to allow voting on a poll, its status has to be set to **Active**, the default value being **In preparation**.
16 +
17 +{{image reference="viewActivePoll.png" width="900"/}}
18 +
19 +== Recent Polls Macro ==
20 +
21 +This macro also lists the most recent created polls, but, unlike the livetable, no actions can be performed on this list. There are 2 ways of using a macro in a wiki page as also described in [[Writing Macros>>http://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/Tutorials/WritingMacros/WikiMacroeTutorial/#HHelloMacro]] documentation:
22 +
23 +=== Using the macro from WYSIWYG editor ===
24 +
25 +Edit a wiki page in WYSIWYG mode and look in the tool bar for the {{velocity}}$services.icon.render('cog'){{/velocity}} icon (XWiki Macro) then search for **Recent Polls** and set the number of polls to be displayed.
26 +
27 +{{gallery}}
28 + image:selectCog.png
29 + image:selectMacro.png
30 + image:setLimit.png
31 +{{/gallery}}
32 +
33 +=== Using the macro from wiki editor (code) ===
34 +
35 +Edit the page in wiki mode and write the following code snippet:
36 +
37 +{{code}}
38 +{{pollsrecent limit=10 /}}
39 +{{/code}}
40 +
41 +Where the macro parameter **limit** is the maximum number of polls that you want to be displayed on your page. Its default value is 5.
42 +If, instead, you don't want to set a maximum number of polls, remove the limit parameter and all of them will be displayed.
43 +
44 +This is how it will look like before adding polls:
45 +
46 +{{image reference="viewRecentNoPolls.png"/}}
47 +
48 +And after adding them:
49 +
50 +{{image reference="viewRecentPolls.png"/}}
XWiki SAS Copyright © 2019