Taken from: https://doc.tiki.org/Calculations
"You can use it with spli-list to count the number of items in a list or in an item-link (should work with item-list dynamic item-list). "
EXAMPLE GIVEN
Let say I have an item-link permanameBooks with 12 items linked.
(count
(split-list
(content permanameBooks)
(separator ,)
(key a)
)
)
-> 12
If you do a (concat permanameBooks) it just gives ArrayArrayArray so split list cannot work
I am going to try and add the , by using the format option with %0,
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |