Index: openacs-4/packages/dotlrn/dotlrn.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/dotlrn.info,v diff -u -N -r1.118.2.3.4.13 -r1.118.2.3.4.14 --- openacs-4/packages/dotlrn/dotlrn.info 6 Jul 2005 03:22:19 -0000 1.118.2.3.4.13 +++ openacs-4/packages/dotlrn/dotlrn.info 15 Jul 2005 20:13:29 -0000 1.118.2.3.4.14 @@ -68,6 +68,7 @@ + Index: openacs-4/packages/dotlrn/tcl/navigation-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/tcl/navigation-procs.tcl,v diff -u -N -r1.23.2.1.4.2 -r1.23.2.1.4.3 --- openacs-4/packages/dotlrn/tcl/navigation-procs.tcl 21 Apr 2005 01:36:44 -0000 1.23.2.1.4.2 +++ openacs-4/packages/dotlrn/tcl/navigation-procs.tcl 15 Jul 2005 20:13:29 -0000 1.23.2.1.4.3 @@ -225,8 +225,10 @@ set link [dotlrn_community::get_community_url $community_id] set control_panel_url "$link/$control_panel_name" - # add the my space tab, which isn't part of the class portal but is super useful for the end user - append navbar "
  • #dotlrn.user_portal_page_home_title#
  • " + if { ![parameter::get -parameter hide_personal_portal_p -package_id [dotlrn::get_package_id] -default 0] } { + # add the my space tab, which isn't part of the class portal but is super useful for the end user + append navbar "
  • #dotlrn.user_portal_page_home_title#
  • " + } # figure out what this privs this user has on the community set admin_p [dotlrn::user_can_admin_community_p \ 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 -N -r1.29.2.2.4.8 -r1.29.2.2.4.9 --- openacs-4/packages/dotlrn/www/dotlrn-master.tcl 12 Apr 2005 15:24:56 -0000 1.29.2.2.4.8 +++ openacs-4/packages/dotlrn/www/dotlrn-master.tcl 15 Jul 2005 20:13:30 -0000 1.29.2.2.4.9 @@ -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 }