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 -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
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.51 -r1.52
--- openacs-4/packages/acs-core-docs/www/xml/developers-guide/tutorial-advanced.xml 27 Oct 2014 16:39:31 -0000 1.51
+++ openacs-4/packages/acs-core-docs/www/xml/developers-guide/tutorial-advanced.xml 27 Jun 2015 17:19:13 -0000 1.52
@@ -343,11 +343,11 @@
show them.