Index: openacs-4/packages/cms/www/modules/items/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/cms/www/modules/items/index.tcl,v diff -u -r1.2 -r1.3 --- openacs-4/packages/cms/www/modules/items/index.tcl 24 May 2001 23:57:17 -0000 1.2 +++ openacs-4/packages/cms/www/modules/items/index.tcl 16 Aug 2002 03:57:48 -0000 1.3 @@ -24,9 +24,7 @@ # resolve any symlinks -template::query get_item_id resolved_item_id onevalue " - select content_symlink.resolve(:item_id) from dual -" -cache "symlink_resolve $item_id" -persistent +set resolved_item_id [db_string get_item_id ""] set item_id $resolved_item_id @@ -36,17 +34,8 @@ -return_url "modules/sitemap/index" # query the content_type of the item ID so we can check for a custom info page -template::query get_info info onerow " - select - content_type, latest_revision - from - cr_items - where - item_id = :item_id" +db_1row get_info "" -template::util::array_to_vars info - - # build the path to the custom interface directory for this content type set custom_dir [file dirname [ns_conn url]]/custom/$content_type