<we:votingList>
Since version: 3.4.0.0 | Requires endtag: yes | Required modules: voting
Description
This tag automatically generates the voting lists.
Attributes
name
Default value: - | since version: 3.4.0.0 | required: yes
Enter a distinct name for the voting list.
groupid
Default value: - | since version: 3.4.0.0 | required: no
Specify the ID of the voting group of which the list should be created.
version
Default value: - | since version: 3.4.0.0 | required: no
Specify the version number of the version of your voting of which a list should be created. If, e.g., your german votings have the version number "2", you can easily create an overview about the german variant of your votings.
rows
Default value: - | since version: 3.4.0.0 | required: no
Set this attribute to the number of rows you want to generate.
offset
Default value: - | since version: 3.4.0.0 | required: no
Set this attribute to a number which defines the entry from which the list should start.
desc
Default value: - | since version: 3.4.0.0 | required: no
Set this attribute to "true" to reverse the order of the list. If the attribute is set to "false" or is unset, the sorting order stays ascending.
Allowed values:
- true
order
Default value: - | since version: 3.4.0.0 | required: no
Set this attribute to the name of the field from which to sort the list.
subgroup
Default value: - | since version: 3.4.0.0 | required: no
Set this attribute to "true" if sub-groups should be displayed in the list.
Allowed values:
- true
- false
Syntax
<we:votingList name="attribute" [groupid="attribute"] [version="attribute"] [rows="attribute"] [offset="attribute"] [desc="true"] [order="attribute"] [subgroup="true|false"]> ... </we:votingList>