Using the following code in a Wiki Parsed module
{if isset($objectCategoryIds) and in_array(42, $objectCategoryIds)} In category {/if}
should show the text "In Category" when the wiki page currently shown in the center column is in the category with id 42.
This works only on pages without spaces in their names. Things seem to have changed. This works with pages that have spaces in their name, but not if the spaces are being replaced by dashes.
The above code should also work when on a wiki page with spaces in it's name.
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.
Unable to connect to show.tikiwiki.org. Please let us know of the problem so that we can do something about it. Thanks.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |