Index: openacs-4/packages/dotlrn-catalog/www/doc/ch01s06.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-catalog/www/doc/ch01s06.html,v diff -u -r1.2 -r1.3 --- openacs-4/packages/dotlrn-catalog/www/doc/ch01s06.html 10 Jul 2006 21:40:19 -0000 1.2 +++ openacs-4/packages/dotlrn-catalog/www/doc/ch01s06.html 11 Jul 2006 09:03:14 -0000 1.3 @@ -1,3 +1,8 @@ - - - 6. Category Tree

6. Category Tree

The package installation also mounts an instance of itself under the dotlrn-catalog url, here another amp-callback-proc is called (after-mount) to create the category tree that will allow to categorize each course in different ways. The category tree is created as follows:

To categorize courses:

 set tree_id [category_tree::add -name "dotlrn-course-catalog"] category_tree::map -tree_id $tree_id -object_id $package_id -assign_single_p "t"
+Category Tree

Category Tree

The package installation also mounts an instance of itself under + the dotlrn-catalog url, here another amp-callback-proc is called + (after-mount) to create the category tree that will allow to categorize + each course in different ways. The category tree is created as + follows:

# To categorize courses 
+      set tree_id [category_tree::add -name "dotlrn-course-catalog"] 
+      category_tree::map -tree_id $tree_id -object_id $package_id -assign_single_p "t"
+