Index: openacs-4/packages/static-portlet/www/static-portlet.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/static-portlet/www/static-portlet.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/static-portlet/www/static-portlet.tcl 15 Feb 2002 21:10:44 -0000 1.1 +++ openacs-4/packages/static-portlet/www/static-portlet.tcl 18 Feb 2002 05:23:12 -0000 1.2 @@ -8,12 +8,10 @@ array set config $cf -# aks FIXME testing +set instance_id $config(instance_id) -set query " -select content -from dotlrn_static_content -where instance_id = :instance_id)" - -# aks - maybe a list, i forget -set list_of_instance_ids $config(instance_id) +db_multirow content_multi select_content { + select content, pretty_name + from static_portal_content + where instance_id = :instance_id +}