Skip to content
Adam Kiss edited this page Jan 29, 2017 · 10 revisions

Welcome to the Syllabus Manager wiki!

portal-ext.properties

Put these lines into portal-ext.properties in the root of Liferay installation. If the file doesn't exist, create it. (source: https://web.liferay.com/community/forums/-/message_boards/view_message/42954133)

browser.launcher.url=

hibernate.hbm2ddl.auto=update

Set up roles and permissions

  1. Create a new Site Role at Control Panel -> Users -> Roles -> Add -> Site Role.
  2. In the opening window fill out the form. It is enough to fill out the following field: Name: Syllabus Manager
  3. Save the form.
  4. From the list of the roles find the newly created Syllabus Manager role. Press the corresponding Actions -> Define Permissions button.
  5. In the left side menu select: Site Administration -> Content -> Curriculum Admin
  6. Check in everything.
  7. Press the Save button at the bottom of the page.

Set up logging

  1. Navigate to Control Panel -> Configuration -> Server Administration.
  2. Select "Log Levels" tab.
  3. Select "Add Category".
  4. Fill the form using the following inputs: "Logger Name" -> "hu.unideb.inf", "Log Level" -> "ALL".
  5. Press the Save button.

Workflow handling

By default a syllabus becomes Approved, because Liferay doesn't automatically enable the workflow handling for this portlet. To enable it do the following steps:

  1. In the left side menu select the site name (Liferay)
  2. Configuration
  3. Workflow Configuration
  4. In the list edit "model.resource.hu.unideb.inf.model.Syllabus" and set workflow to "Single Approver (Version 1)"
  5. Press Save button and add a Syllabus to see what happens.