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

4. Relations

Two new relations were created to associate dotlrn classes and communities to dotlrn-catalog courses. On associates the dotlrn_catalog type with dotlrn_class_instance type for dotlrn classes, and the other one associates the dotlrn_catalog type with dotlrn_club for the communities. Here is were the previous created roles take place:

-

To associate one course to dotlrn class

-
 rel_types::new -role_one d_catalog_role -role_two dotlrn_class_role dotlrn_catalog_class_rel \
- "DotLRN Catalog Class" "DotLRN Catalog Class" dotlrn_catalog 0 1 dotlrn_class_instance 0 1
-

To associate one course to dotrln community

 rel_types::new -role_one d_catalog_role -role_two dotlrn_com_role dotlrn_catalog_dotcom_rel \
- "DotLRN Catalog Community" "DotLRN Catalog Community" dotlrn_catalog 0 1 dotlrn_club 0 1

+Relations

Relations

Two new relations were created to associate dotlrn classes and + communities to dotlrn-catalog courses. On associates the dotlrn_catalog + type with dotlrn_class_instance type for dotlrn classes, and the other + one associates the dotlrn_catalog type with dotlrn_club for the + communities. Here is were the previous created roles take place:

# To associate one course to dotlrn 
+      class rel_types::new -role_one d_catalog_role \
+                           -role_two dotlrn_class_role dotlrn_catalog_class_rel \
+                           "DotLRN Catalog Class" "DotLRN Catalog Class" \
+                           dotlrn_catalog 0 1 dotlrn_class_instance 0 1
+      
# To associate one course to dotlrn community 
+        rel_types::new -role_one d_catalog_role -role_two dotlrn_com_role \
+                        dotlrn_catalog_dotcom_rel "DotLRN Catalog Community" \
+                        "DotLRN Catalog Community" dotlrn_catalog 0 1 dotlrn_club 0 1
+