When I evaluated the software for my project, I was very happy when the documentation said that it was possible to create a workflow with categories, transitions and watches. But I realized that watching a category only triggered a mail notification when the transition was made in the tiki-admin_categories.php page. It was useless for me!! (
I studied the code and I discovered a way to put notification when a transition is made with the transition module (only for wiki pages).
I inserted this code in 184 line:
if ($type "wiki page" or $type "wikipage" or $type == "wiki_page") {
$category = $categlib->get_category($state);
$categorizedObject = $categlib->get_categorized_object('wiki page', $object);
$values = array(
"categoryId" => $state,
"categoryName" => $category'name',
"categoryPath" => $categlib->get_category_path_string_with_root($state) ,
"description" => $category'description',
"parentId" => $category'parentId',
"parentName" => $categlib->get_category_name($category'parentId') ,
"action" => "object entered category",
"objectName" => $categorizedObject'name',
"objectType" => $categorizedObject'type',
"objectUrl" => $categorizedObject'href'
);
$categlib->notify($values);
}
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.