<?xml version="1.0"?>

<!-- This must be moved to the OpenACS page root when making a release tarball -->

<application name="dotlrn" pretty-name=".LRN" home="http://openacs.org/projects/dotlrn" min_stack_size="512">

  <actions>
    <!-- Installing all applets gives us what we need as applets depend on both dotlrn, the portlets
         and the respective applications (i.e. forums file-storage etc.) -->
    <install package="dotlrn-bm"/>
    <install package="dotlrn-calendar"/>
    <install package="dotlrn-dotlrn"/>
    <install package="dotlrn-faq"/>
    <install package="dotlrn-forums"/>
    <install package="dotlrn-fs"/>
    <install package="dotlrn-homework"/>
    <install package="dotlrn-news"/>
    <install package="dotlrn-portlet"/>
    <install package="dotlrn-static"/>
    <install package="dotlrn-assessment"/>
    <install package="dotlrn-evaluation"/>

    <install package="theme-zen"/>

    <set-parameter package-key="acs-subsite" name="DefaultMaster" value="/packages/dotlrn/www/dotlrn-master-custom"/>
    <set-parameter package-key="acs-subsite" name="ThemeCSS" value=""/>

    <set-parameter-default package-key="dotlrn" name="class_instance_pages_csv" value="#dotlrn.class_page_home_title#,#theme-zen.Zen_2_column#,#dotlrn.class_page_home_accesskey#;#dotlrn.class_page_calendar_title#,#theme-zen.Zen_1_column#,#dotlrn.class_page_calendar_accesskey#;#dotlrn.class_page_file_storage_title#,#theme-zen.Zen_1_column#,#dotlrn.class_page_file_storage_accesskey#"/>

    <set-parameter-default package-key="dotlrn" name="club_pages_csv" value="#dotlrn.club_page_home_title#,#theme-zen.Zen_2_column#,#dotlrn.club_page_home_accesskey#;#dotlrn.club_page_calendar_title#,#theme-zen.Zen_1_column#,#dotlrn.club_page_calendar_accesskey#;#dotlrn.club_page_file_storage_title#,#theme-zen.Zen_1_column#,#dotlrn.club_page_file_storage_accesskey#;#dotlrn.club_page_people_title#,#theme-zen.Zen_1_column#,#dotlrn.club_page_people_accesskey#"/>

    <set-parameter-default package-key="dotlrn" name="subcomm_pages_csv" value="#dotlrn.subcomm_page_home_title#,#theme-zen.Zen_2_column#,#dotlrn.subcomm_page_home_accesskey#;#dotlrn.subcomm_page_info_title#,#theme-zen.Zen_1_column#,#dotlrn.subcomm_page_info_accesskey#;#dotlrn.subcomm_page_calendar_title#,#theme-zen.Zen_1_column#,#dotlrn.subcomm_page_calendar_accesskey#;#dotlrn.subcomm_page_file_storage_title#,#theme-zen.Zen_1_column#,#dotlrn.subcomm_page_file_storage_accesskey#"/>

    <set-parameter-default package-key="dotlrn" name="user_portal_pages_csv" value="#dotlrn.user_portal_page_home_title#,#theme-zen.Zen_2_column#,#dotlrn.user_portal_page_home_accesskey#;#dotlrn.user_portal_page_calendar_title#,#theme-zen.Zen_1_column#,#dotlrn.user_portal_page_calendar_accesskey#;#dotlrn.user_portal_page_file_storage_title#,#theme-zen.Zen_1_column#,#dotlrn.user_portal_page_file_storage_accesskey#"/>

    <set-parameter-default package-key="dotlrn" name="admin_layout_name" value="#theme-zen.Zen_2_column#"/>

    <set-parameter-default package-key="dotlrn" name="non_member_layout_name" value="#theme-zen.Zen_2_column#"/>

    <set-parameter-default package-key="dotlrn" name="DefaultSiteTemplate" value="#theme-zen.Zen_Theme#"/>

    <mount package="dotlrn" mount-point="/dotlrn" instance-name="dotLRN"/>

    <set-parameter package-key="dotlrn" name="DefaultMaster_p" value="/packages/theme-zen/lib/lrn-master"/>

    <set-parameter package-key="acs-kernel" name="IndexRedirectUrl" value="/dotlrn/index"/>
    <set-parameter package-key="acs-kernel" name="CommunityMemberURL" value="/dotlrn/community-member"/>
    <set-parameter package-key="acs-kernel" name="CommunityMemberAdminURL" value="/dotlrn/admin/user"/>

    <set-parameter package-key="new-portal" name="default_theme_name" value="#theme-zen.Zen_Theme#"/>
    <set-parameter package-key="new-portal" name="default_layout" value="#theme-zen.Zen_2_column#"/>

    <set-parameter package-key="acs-templating" name="RichTextEditor" value="tinymce"/>

    <set-parameter package-key="acs-bootstrap-installer" name="post_installation_message" value="When the server restarts click <a href='/dotlrn'>here</a> to configure .LRN"/>
  </actions>

</application>
