Wiki

Clone wiki

jummp / CMS

Content Management System

JUMMP uses Weceem as the Content Management System (CMS). Please refer to the Documentation to see what this Grails Plugin provides.

Accessing Content

Weceem expects a security policy which explains what actions(create, read, update, delete) are allowed for each role within JUMMP. A sample is provided in scripts/WeceemSecurity.groovy and defines permissions on the content for three roles: ROLE_ADMIN, ROLE_USER and ROLE_VISITOR. The first two need to match the name of the roles generated with Spring Security Core, while ROLE_VISITOR is assigned to users that have not been authenticated. The location of the security policy is configurable via the jummp.security.cms.policy property and, should this option be omitted, the CMS will use its default one.

Importing and Exporting Content

Weceem provides mechanisms for importing and exporting content. A typical process is described as an example: when a user wishes to make changes made on a development machine reflected on the server. Navigate to the weceem admin interface. Click on Administration. Then select spaces. If your weceem has CSS/javascript loading issues, then navigate to (/wcm-admin/space/list). Select 'export' for the weceem space required ('Default', in the weceem zip shipped with jummp), and save the zip file. Login to your deployment server and navigate to the same page (/wcm-admin/space/list). Click the import button and upload the zip file. The new content should be reflected immediately.

Editing Content

Editing Content in the CMS is restricted to administrative users. An administrative user finds a link to "Content Management System" in the "Administration" sidebar widget. This opens the Weceem Content Repository which allows to add new content or modify existing content. JUMMP comes with a pre-selection of dummy content, which can and should be edited in a productive environment.

Main Page

The Content of the main page (the one shown when clicking "About Jummp") can be found as index. It is an HTML page and you can add gsp tags and embed other content from the CMS.

The content of the footer for all pages can be edited by modifying the "footer" widget in the widgets folder.

The page links rendered above the footer can be edited by modifying the "links" widget in the widgets folder.

Branding

A branding image can be set by uploading an image with the name "branding.png". If another name is used the "branding" widget in the widgets folder has to be modified.

Sidebar

The Sidebar is in fact not part of the CMS but can use widgets rendering content of the CMS. As well several default widgets are available in the CMS.

Creating a Sidebar Widget

To create a new Sidebar Widget create "New Content" of type "Widget" in the "widgets" folder. A sidebar widget needs to be a div element with class "element". An example sidebar widget could look like the following:

<div class="element">
  <h1>Foo</h1>
  <h2>Bar</h2>
  <p>Some Text</p>
</div>

The subheading (h2) should also be present as an empty element if there is no need for a subheading. It is possible to include gsp tags inside the content of the sidebar widget. Feel free to have a look at the existing Sidebar widgets to write your own ones.

Available Widgets

JUMMP ships a few Sidebar widgets which can be integrated on the various sidebars of the different pages.

News

The News Sidebar Widget (news-sidebar-item) shows the latest news published in the local JUMMP installation. Please see the section on publishing news.

Administration

The Administration Sidebar Widget (admin) contains useful links for administrating the local JUMMP installation.

DKFZ News Feed

The DKFZ News Feed Sidebar Widget (dkfz-feed) renders the latest DKFZ News.

SBML News Feed

The SBML News Feed Sidebar Widget (sbml-feed) renders the latest News from SBML.org.

Sidebar of Main Page

The Sidebar of the Main Page can be modified by editing the "main-sidebar" page. By default it includes the Administration widget for administrative users, the News widget and the SBML feed widget.

News

The News section of JUMMP is a blog called "News". To create a new News entry select the News blog and create "New Content" of type "Blog entry". The News entry consists of three important parts: * Title: this is the title of the news * Summary: this is the teaser being included in the RSS feed * Content: the actual content of the news. The summary is not included, so if you need a teaser remember to copy it.

Like in any other blog engine you have the options to set publication dates, tags, etc. What is important is to change the "Status" to "Published" or nobody will be able to see the news post.

Updated