Setting several categories in a module is broken
- Status
- Closed
- Subject
- Setting several categories in a module is broken
- Version
- 27.x
28.x
Regression from 26.x to 27.x - Category
- Bug
- Feature
- Category
Modules - Resolution status
- Rejected
- Submitted by
- Bernard Sfez / Tiki Specialist
- Lastmod by
- Bernard Sfez / Tiki Specialist
- Rating
- Description
With a Tiki build-in module like logo.
In Visibility you can set a parameter to filter to have the module used with specific object categories.
For cat22 and cat23 you should add a semi-colon like this : "22:23".
On save the semi-columns are deleted and the filter is not working at all.
See Solution (for the custom modules)
With a custom module you had to add a parameter per category to have the same behavior.
On a custom module in the parameter field if I set several category like this:
nobox=y&category=22&category=23In the modules once saved it look like this as before.
But only the last category entered will have the effect to display the module.
All previous categories will be omitted unlike before and this is a regression.- Solution
For custom modules you can use
category[]=22&category[]=23as mentioned by Luci in the comment.You can also use
&category1=22&category2=23as explain here https://doc.tiki.org/Creating-Custom-Modules?latest=1#Edit_Create_Custom_Module
For Tiki module it is imperative to use semi-columns (and not columns)- Workaround
- Importance
- 7
- Easy to solve?
- 5
- Priority
- 35
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 8735
- Created
- Sunday 03 November, 2024 11:56:44 UTC
by Bernard Sfez / Tiki Specialist - LastModif
- Monday 04 November, 2024 14:12:03 UTC