Integration into Django-CMS

Set up list of authors

The integration of the list of authors and individual authors’ pages are realized through an Django Apphook in the CMS. That is, a CMS page is created that is subsequently managed throug the eoaauthors application. The Apphooks have to be registered in the Publication Platform in a file called cms_apps.py that is located next to the settings.py file. An example can be found at https://github.molgen.mpg.de/EditionOpenAccess/eoa-1.5/blob/master/src/eoa/cms_apps.py. After having created and populated that file, restart the Django service.

Create a new page in the CMS:

alternate text

Note

Pay attention to the slug entry. This has to match the path that is given in the template file, the default setting is author.

alternate text

Click on Save at the bottom of the page to finalize the creation.

alternate text

After the creation, edit the page again. You need to access the advanced settings. To do so, hold the shift key in the Pages overview page. The pencil icon will change to a gears icon. Now click it.

alternate text

Scroll down to the field Application.

alternate text

Click on it to select the appropriate app hook.

alternate text

Save the page again.

alternate text

Back in the Pages overview, the dot in the row of the newly created page will be grey. That means that there are unpublished changes. Click on the dot to publish them.

alternate text alternate text

When visiting the page, it will be empty except for an introductory text. In order to insert authors, they need to be created in the Admin interface. The next section explains how to create entries of authors.

alternate text