Ignore:
Timestamp:
1 Oct 2006, 10:21:09 (18 years ago)
Author:
Henrik Bettermann
Message:

batch of fixes to open the frontend for the first time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_custom/logged_in.py

    r551 r603  
    2121    to_member_home = False
    2222    to_workspaces = False
    23     has_home = mtool.getHomeFolder()
    24     if has_home:
    25         to_member_home = True
    26     if not has_home and mtool.checkPermission('View', portal.workspaces):
    27         to_workspaces = True
     23##    has_home = mtool.getHomeFolder()
     24##    if has_home:
     25##        to_member_home = True
     26##    if not has_home and mtool.checkPermission('View', portal.workspaces):
     27##        to_workspaces = True
    2828    return to_member_home, to_workspaces
    2929
     
    8787        return response.redirect("%s/passport_entry_view" % student.absolute_url())
    8888    return response.redirect("%s" % student.absolute_url())
    89    
     89
    9090elif to_member_home:
    9191    redirect_url = mtool.getHomeFolder().absolute_url()
Note: See TracChangeset for help on using the changeset viewer.