Index: openacs-4/packages/dotlrn/www/dotlrn-master.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/www/dotlrn-master.tcl,v diff -u -r1.35.2.1 -r1.35.2.2 --- openacs-4/packages/dotlrn/www/dotlrn-master.tcl 31 May 2005 23:13:06 -0000 1.35.2.1 +++ openacs-4/packages/dotlrn/www/dotlrn-master.tcl 26 Sep 2005 09:07:00 -0000 1.35.2.2 @@ -83,6 +83,16 @@ set show_navbar_p 0 } +if { [empty_string_p $community_id] && \ + [parameter::get \ + -parameter hide_personal_portal_p \ + -package_id [dotlrn::get_package_id] \ + -default 0] } { + #We're not in a community portal, and we've been asked to + #hide the personal portal. + set show_navbar_p 0 +} + if {![info exists link_all]} { set link_all 0 } @@ -370,7 +380,7 @@ set toggle_translator_mode_url [export_vars -base "${acs_lang_url}admin/translator-mode-toggle" { { return_url [ad_return_url] } }] # Curriculum bar -set curriculum_bar_p [llength [site_node::get_children -all -filters { package_key "curriculum" } -node_id $community_id]] +#set curriculum_bar_p [llength [site_node::get_children -all -filters { package_key "curriculum" } -node_id $community_id]] ################################# # CLASS/COMMUNITY-SPECIFIC COLORS