Index: openacs-4/packages/acs-core-docs/www/xml/developers-guide/tutorial-advanced.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/xml/developers-guide/tutorial-advanced.xml,v diff -u -r1.21 -r1.22 --- openacs-4/packages/acs-core-docs/www/xml/developers-guide/tutorial-advanced.xml 7 Apr 2004 17:03:28 -0000 1.21 +++ openacs-4/packages/acs-core-docs/www/xml/developers-guide/tutorial-advanced.xml 19 Apr 2004 10:06:41 -0000 1.22 @@ -613,7 +613,7 @@ - + Profile your code There are several facilities for profiling your code in OpenACS. The first thing to do is to install the @@ -623,7 +623,7 @@ url="http://openacs.org/forums/message-view?message_id=161324">profiling your code using ds_profile - + Prepare the package for distribution. @@ -932,7 +932,7 @@ some_table children WHERE children.tree_sorktey between parent.tree_sortkey and tree_right(parent.tree_sortkey) - and parent.tree_sortkey <> children.tree_sortkey + and parent.tree_sortkey <> children.tree_sortkey and parent.key = :the_parent_key; @@ -943,7 +943,7 @@ numbers in tree_sortkey SQL queries, like tree_level(children.tree_sortkey) - 4. That is basically an incorrect way to do it, - and subtracting the parent's tree_level is the preferred method. + and subtracting the parent's tree_level is the preferred method. This example does not include the parent. To return the entire subtree including the parent, leave out the non-equals clause: @@ -1024,7 +1024,7 @@ - Future Topics: + Future Topics How to enforce security so that users can't change other users records