Wiki source code of Commentaires
Last modified by Aurelie Bertrand on 2025/11/14 11:59
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | If you are using a comments database, configure access to it here: | ||
| 2 | |||
| 3 | 1. Enter the **URL of the database**. | ||
| 4 | 1. Enter the **User** and **Password** defined when the database was created. | ||
| 5 | 1. Set the options. See the table below for a detailed description. | ||
| 6 | 1. Click **Test **to check that the database connection works. | ||
| 7 | 1. Click **Save** to confirm. | ||
| 8 | |||
| 9 | This solution secures access to the comments database. | ||
| 10 | |||
| 11 | The following parameters can be used to archive/delete comments or restrict access to comments as described below. | ||
| 12 | |||
| 13 | |||
| 14 | |||
| 15 | |=(% scope="row" style="width: 311px;" %)Logical deletion of comments|(% style="width:514px" %)((( | ||
| 16 | If this option is ticked, when the user deletes a comment, it is no longer visible in the dashboard but remains in the database. | ||
| 17 | |||
| 18 | The comment then has a "Deleted" status and can be recovered, if necessary, by connecting to the database. | ||
| 19 | ))) | ||
| 20 | |=(% style="width: 311px;" %)Archive comments until|(% colspan="1" style="vertical-align:middle; width:514px" %)((( | ||
| 21 | Enter a date in the form DD/MM/YYYY before which you wish to archive the comments. | ||
| 22 | |||
| 23 | Archived comments are no longer visible in the dashboard but are kept in the database with the status "Archived". | ||
| 24 | ))) | ||
| 25 | |=(% style="width: 311px;" %)Delete comments until|(% colspan="1" style="vertical-align:middle; width:514px" %)((( | ||
| 26 | Enter a date in the form DD/MM/YYYY before which you wish to delete comments. | ||
| 27 | ))) | ||
| 28 | |=(% style="width: 311px;" %)Delete user comments|(% style="width:514px" %)Enter the user ID from which you wish to delete comments. | ||
| 29 | |=(% style="width: 311px;" %)Comment security|(% style="width:514px" %)((( | ||
| 30 | (% style="color:#333333; font-family:~"Open Sans~",sans-serif; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Enter one or more user parameters to restrict access to comments. For example, ${user.param1}. Only users sharing this parameter will have access to comments. | ||
| 31 | ))) | ||
| 32 | |=(% style="width: 311px;" %)Multi-value separator for comment security|(% style="width:514px" %)If the user parameter has several possible values, you can enter a separator to distinguish these values. | ||
| 33 | For example, a slash (val1/val2) or a comma (val1,val2). | ||
| 34 | |=(% style="width: 311px;" %)All" security value for comments|(% style="width:514px" %)You can enter a value to be used to display all comments. This value will allow the user to see all views, regardless of the security in place. | ||
| 35 | For example, //.*// or //All. //Users with this user parameter value will be able to see all comments. | ||
| 36 | |=(% style="width: 311px;" %)Category //n//|(% style="width:514px" %)Icon defined for each comment category. | ||
| 37 | |||
| 38 | (% class="box" %) | ||
| 39 | ((( | ||
| 40 | ℹ See section [[Comments>>doc:Digdash.user_guide.dashboard.dashboard_editor_guide.create_dashboard.Ajouter des éléments additionnels.WebHome||anchor="Commentaires"]] to find out more about adding comments. | ||
| 41 | ))) |