source: WAeUP_SRP/trunk/skins/waeup_default/srp_view.py @ 2019

Last change on this file since 2019 was 2019, checked in by Henrik Bettermann, 17 years ago

more basic CMS staff:

Three WAeUPDocument ids are reserved: frontpage_doc, srp_home_doc, student_notice_doc

The content of student_notice_doc appears as a black board on the frontpage.

File size: 407 bytes
Line 
1##parameters=
2# $Id: srp_anonymous_view.py 681 2006-10-13 06:43:39Z henrik $
3"""
4"""
5
6REQUEST = context.REQUEST
7
8try:
9    frontpage = getattr(context.portal_url.getPortalObject().campus.documents, 'srp_home_doc')
10    return REQUEST.RESPONSE.redirect('%s/campus/documents/srp_home_doc' % context.portal_url())
11except:
12    return REQUEST.RESPONSE.redirect('%s/srp_home_view' % context.portal_url())
Note: See TracBrowser for help on using the repository browser.