|
1 | 1 | = Categories |
2 | 2 |
|
| 3 | +== Understand the basics |
3 | 4 |
|
4 | 5 | Categories (and subcategories) are used for classifying resources inside of a space. |
5 | 6 |
|
6 | 7 | An administrator can define them, can be assigned to when creating resources, and then participants can filter the |
7 | | -different resources by these categories. For instance, they can be set up in proposals, meetings and debates. |
| 8 | +different resources by these categories. For instance, they can be used in proposals, meetings, and debates. |
8 | 9 |
|
9 | | -As an example of this mechanism in action you can see it in https://meta.decidim.org/processes/roadmap/f/122/[Propose new functionalities for Decidim software] process: |
| 10 | +. Administrators define categories in a space. |
| 11 | +. Participants can create resources and give them a category. |
| 12 | +. Participants can then filter by categories. |
10 | 13 |
|
11 | | -. Administrators have defined the categories in the process. |
12 | | -. Participants can create proposals that have one category. |
13 | | -. Participants can filter by these categories and navigate among all the proposals. |
| 14 | +image::spaces/categories_sidebar.png[Filter categories in proposals] |
14 | 15 |
|
15 | | -image:spaces/categories_sidebar.png[Filter categories in proposals] |
16 | | - |
17 | | -image:spaces/categories_form.png[Select a category when creating a proposal] |
18 | | - |
19 | | -NOTE: Once a category is in use it cannot be removed, as there are resources that are using it. |
| 16 | +NOTE: Once a category is in use it cannot be deleted, as there are resources that are linked to it. |
20 | 17 |
|
21 | 18 | Decidim has other ways to classify resources, for instance xref:admin:scopes.adoc[Scopes] and xref:admin:features/hashtags.adoc[Hashtags]. |
22 | 19 | The main difference is that Categories can be defined in a given space, Scopes are global for all the platform, and Hashtags |
23 | | -are defined by the participants. |
| 20 | +can be defined by the participants. |
24 | 21 |
|
25 | 22 | Categories can be nested, meaning that a category can have subcategories. |
26 | 23 |
|
27 | | -== Create a new category |
| 24 | +== How to find it? |
| 25 | + |
| 26 | +To configure categories, click the *Categories* item in any participatory space. |
28 | 27 |
|
29 | | -For configuring a new category, go to the space admin panel and click on the "Categories" tab. |
| 28 | +image::spaces/categories.png[View categories in a space administration page] |
30 | 29 |
|
31 | | -image:spaces/categories.png[View categories in a space admin page] |
| 30 | +== Create a new category |
32 | 31 |
|
33 | | -Then click in "Add category" and fill the form. |
| 32 | +Click in "New category" button on the top right. |
34 | 33 |
|
35 | 34 | image:spaces/categories_new_form.png[Create a new category form] |
36 | 35 |
|
37 | | -.Create category |
| 36 | +.Create category form |
| 37 | +[cols="20h,10h,~"] |
38 | 38 | |=== |
39 | 39 | |Field |Type |Description |
40 | 40 |
|
41 | 41 | |Name |
42 | 42 | |Required |
43 | 43 | |What is the name for this category. |
44 | 44 |
|
45 | | -|Weight |
| 45 | +|Order position |
46 | 46 | |Optional |
47 | | -|Which order will it have in relation to the other categories. Having a lower number means a higher priority. For instance, if you have two categories, "Category a" with weight "10" and "Category b" with weight "0", then "Category b" will be first when ordering. |
48 | | - |
49 | | -|Description |
50 | | -|Required |
51 | | -|A long description explaining what this category is about. |
| 47 | +|Which order it has in relation to the other categories. Having a lower number means a higher priority. For instance, if you have two categories, "Category a" with weight "10" and "Category b" with weight "0" then "Category b" is first when ordering. |
52 | 48 |
|
53 | 49 | |Parent |
54 | 50 | |Optional |
55 | 51 | |What is the parent category. |
56 | 52 | |=== |
57 | 53 |
|
| 54 | +== Manage categories |
| 55 | + |
| 56 | +You can find all the categories on the list in the administration panel, with: |
| 57 | + |
| 58 | +* *Name*: name of the category, given when creating or editing it by the administrator. |
| 59 | + |
| 60 | +== Actions |
| 61 | + |
| 62 | +.Components actions in component list |
| 63 | +[cols="20h,10h,~"] |
| 64 | +|=== |
| 65 | +|Icon |Name |Definition |
| 66 | + |
| 67 | +|image:icons/action_edit.png[Edit icon] |
| 68 | +|Edit |
| 69 | +|To edit the name, the order position and the parent of the category. |
| 70 | + |
| 71 | +|image:icons/action_delete.png[Delete icon] |
| 72 | +|Delete |
| 73 | +|To delete the category. A category can't be deleted if it has resources attached to it. |
| 74 | + |
| 75 | +|=== |
0 commit comments