Index: openacs-4/packages/acs-core-docs/www/tutorial-comments.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/tutorial-comments.html,v diff -u -N -r1.14 -r1.15 --- openacs-4/packages/acs-core-docs/www/tutorial-comments.html 27 Oct 2014 16:39:26 -0000 1.14 +++ openacs-4/packages/acs-core-docs/www/tutorial-comments.html 27 Jun 2015 17:19:13 -0000 1.15 @@ -4,11 +4,11 @@ display individual notes, we want to put a link to add comments at the bottom of the screen. If there are any comments, we want to show them.

First, we need to generate a url for adding comments. In note-edit.tcl:

- set comment_add_url "[general_comments_package_url]comment-add?[export_vars {
+ set comment_add_url [export_vars -base [general_comments_package_url]comment-add {
   { object_id $note_id } 
   { object_name $title } 
   { return_url "[ad_conn url]?[ad_conn query]"} 
- }]"
+ }]
  

This calls a global, public tcl function that the general_comments package registered, to get its url. You then embed in that url the id of the note and its title, and set the