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 |
|
---|
6 | REQUEST = context.REQUEST
|
---|
7 |
|
---|
8 | try:
|
---|
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())
|
---|
11 | except:
|
---|
12 | return REQUEST.RESPONSE.redirect('%s/srp_home_view' % context.portal_url()) |
---|
Note: See
TracBrowser for help on using the repository browser.