You might want to display all comments, and this script will retrieve them:
Wiki Output Sample Copy to clipboard {LIST(cache="n")}
{filter type="comment"}
{pagination max="10"}
{OUTPUT( template="table")}
{column field="title"}
{column field="comment_content"}
{column field="object_link" mode="raw"}
{column field="date"}
{OUTPUT}
{FORMAT( name="object_link")}
{display name="object_id" format="objectlink"}
{FORMAT}
{sort mode="date_desc"}
{LIST}
The FORMAT control block defines an object with the name object_link which is displayed in such a way that it is object_id which is displayed and formatted as objectlink; which makes the id clickable. This object reference is then used in the column control block in the body of the OUTPUT table.
This gives us the following result:
Title
|
Comment
|
Thread Id
|
Date
|
Specify multiple (from Kroky on the matrix room) |
If you wish |
859 |
2024-10-21 07:54:22 |
Specify multiple (from Kroky on the matrix room) |
If you wish to include parent list results that has at least one sublist result, you can use required="1" parameter on the sublist clause. Also, if you have multiple visited doctors, specify multiple="1" . Then, each row of the resultset will contain "visited_doctors" param as an array. Source: https://matrix.to/#/#tiki-org_community:gitter.im |
858 |
2024-10-21 07:54:03 |
Specify multiple (from Kroky on the matrix room) |
If you wish to include parent list results that has at least one sublist result, you can use required="1" parameter on the sublist clause. Also, if you have multiple visited doctors, specify multiple="1". Then, each row of the resultset will contain "visited_doctors" param as an array. Source: https://matrix.to/#/#tiki-org_community:gitter.im |
857 |
2024-10-21 07:53:05 |
Specify multiple (from Kroky on the matrix room) |
If you wish to include parent list results that has at least one sublist result, you can use required="1" parameter on the sublist clause. Also, if you have mulitple visited doctors, specify multiple="1". Then, each row of the resultset will contain "visited_doctors" param as an array. Source: https://matrix.to/#/#tiki-org_community:gitter.im |
856 |
2024-10-21 07:52:36 |
Here is a comment about targeted comments |
note Permits targeted comments Here is a test to demonstrate inline comments. |
852 |
2023-04-28 17:17:20 |
feature_userPreferences must be enabled |
In order to have this page working, it must be enabled the Community > User features > feature_userPreferences "User Preferences Screen". If it is disabled, at the moment the page throws an error "ERR_EMPTY_RESPONSE". |
851 |
2022-12-19 13:58:10 |
Setting' → Mail Notifications? |
I found this in Settings → Mail Notifications |
850 |
2021-12-13 13:50:20 |
Slightly different |
The procedure explained here would not precisely work this way. Also, I would highly advise to shut down the old Tiki into Maintenance Mode first, so that no "last minute changes" would get lost when the DB gets transferred. After you transferred the files and the DB, you will see a seemingly (!) fully operational Tiki under the new URL, but beware, this is because the new Tiki will reach into the old DB, because it has server/user name and password to do so, and unless your ISP provides some protection against cross-accessing (or you switched ISPs) you get the illusion (!) that it works. It does, but it will continue to use the old DB. The transfer of a working Tiki means pointing to /tiki will not bring up the installation, because it gets disabled when Tiki goes into operational mode! So either you have to re-activate the install script (which gets deactivated for a VERY good reason: Security!) or you have to enter the new DB access data in the "working" Tiki... |
849 |
2021-09-25 09:07:31 |
How to activate Roles? |
In order to get the Roles fields in the group creation, I had to activate features Categories and Templated Groups . Is that how it is meant to be? Nothing seems to be called Roles . |
848 |
2020-10-08 15:40:04 |
This is exactly what I needed |
Very helpful info! Thank you! |
847 |
2020-07-10 05:08:15 |
We see that this only gives us the information about the object (the comment in this case), but what if I want to have more information before visiting the comment?
One way to do this is to add a column which indicates the item being commented on. It is typically a wiki page or tracker item which is clickable and takes me there.
So let's make some changes and see what we have:
Wiki Output Sample Copy to clipboard {LIST(cache="n")}
{filter type="comment"}
{pagination max="10"}
{OUTPUT( template="table")}
{column field="contributors"}
{column field="title"}
{column field="comment_content"}
{column field="parent_object_title" mode="raw"}
{column field="object_link" mode="raw"}
{column field="date"}
{OUTPUT}
{FORMAT( name="object_link")}
{display name="object_id" format="objectlink"}
{FORMAT}
{FORMAT( name="parent_object_title")}
{display name="parent_object_type"}: {display name="wikiplugin_objectlink" format="wikiplugin" type="parent_object_type" id="parent_object_id"}
{FORMAT}
{sort mode="date_desc"}
{LIST}
Here we have just added a new column whose label is "Parent Object".
The new FORMAT control block formats the parent_object_title field, which is the title of the comment's parent object, then with {display} tag we first display the name of the parent object, which is stored in the parent_object_type field. For example, if the parent object is a trackeritem, it will display "trackeritem:", and finally we display the link to the parent object, using the wikiplugin_objectlink plugin. This plugin allows you to create a link to a Tiki object according to its type and its identifier. Here you specify the link format as "wikiplugin", the object type as parent_object_type, and the object id as parent_object_id. For example, if the parent object is a trackeritem with id 1, this will generate a link to "tiki-view_tracker_item.php?itemId=1".
So you get a field that displays the name and link of the comment's parent object. For example, if the comment is linked to an item called "This is my first item", you display "trackeritem: This is my first item".
This gives us the following result:
Title
|
Comment
|
Parent Object
|
Thread Id
|
Date
|
Specify multiple (from Kroky on the matrix room) |
If you wish |
wiki page: Sublist |
859 |
2024-10-21 07:54:22 |
Specify multiple (from Kroky on the matrix room) |
If you wish to include parent list results that has at least one sublist result, you can use required="1" parameter on the sublist clause. Also, if you have multiple visited doctors, specify multiple="1" . Then, each row of the resultset will contain "visited_doctors" param as an array. Source: https://matrix.to/#/#tiki-org_community:gitter.im |
wiki page: Sublist |
858 |
2024-10-21 07:54:03 |
Specify multiple (from Kroky on the matrix room) |
If you wish to include parent list results that has at least one sublist result, you can use required="1" parameter on the sublist clause. Also, if you have multiple visited doctors, specify multiple="1". Then, each row of the resultset will contain "visited_doctors" param as an array. Source: https://matrix.to/#/#tiki-org_community:gitter.im |
wiki page: Sublist |
857 |
2024-10-21 07:53:05 |
Specify multiple (from Kroky on the matrix room) |
If you wish to include parent list results that has at least one sublist result, you can use required="1" parameter on the sublist clause. Also, if you have mulitple visited doctors, specify multiple="1". Then, each row of the resultset will contain "visited_doctors" param as an array. Source: https://matrix.to/#/#tiki-org_community:gitter.im |
wiki page: Sublist |
856 |
2024-10-21 07:52:36 |
Here is a comment about targeted comments |
note Permits targeted comments Here is a test to demonstrate inline comments. |
wiki page: Inline comments |
852 |
2023-04-28 17:17:20 |
feature_userPreferences must be enabled |
In order to have this page working, it must be enabled the Community > User features > feature_userPreferences "User Preferences Screen". If it is disabled, at the moment the page throws an error "ERR_EMPTY_RESPONSE". |
wiki page: User Preferences |
851 |
2022-12-19 13:58:10 |
Setting' → Mail Notifications? |
I found this in Settings → Mail Notifications |
wiki page: Mail notifications |
850 |
2021-12-13 13:50:20 |
Slightly different |
The procedure explained here would not precisely work this way. Also, I would highly advise to shut down the old Tiki into Maintenance Mode first, so that no "last minute changes" would get lost when the DB gets transferred. After you transferred the files and the DB, you will see a seemingly (!) fully operational Tiki under the new URL, but beware, this is because the new Tiki will reach into the old DB, because it has server/user name and password to do so, and unless your ISP provides some protection against cross-accessing (or you switched ISPs) you get the illusion (!) that it works. It does, but it will continue to use the old DB. The transfer of a working Tiki means pointing to /tiki will not bring up the installation, because it gets disabled when Tiki goes into operational mode! So either you have to re-activate the install script (which gets deactivated for a VERY good reason: Security!) or you have to enter the new DB access data in the "working" Tiki... |
wiki page: Move Tiki to a new server |
849 |
2021-09-25 09:07:31 |
How to activate Roles? |
In order to get the Roles fields in the group creation, I had to activate features Categories and Templated Groups . Is that how it is meant to be? Nothing seems to be called Roles . |
wiki page: Roles |
848 |
2020-10-08 15:40:04 |
This is exactly what I needed |
Very helpful info! Thank you! |
wiki page: Pretty Tracker |
847 |
2020-07-10 05:08:15 |
|