Elements of the Resilience Information Portal

This document explains some of the elements of the Resilience Information Portal of the Work-Package 4 of the SMR Project.

Tutorial: If you want to read the tutorial, it is in this link. And see tutorial on video in this link

This document has been built with the own Resilience Information Portal, and can be edited with the current link when you are logged as admin.

Organizations and security

The Resilience Information Portal allows to create a hierarchy of organizations (they are also refered as entities in this document). You can see the current organizations with their users and pages in this link: Nodes.

The structure of the hierarchy is defined when you create a new entity. The new entity depends on the entity where you were logged when you created the entity. You can create a new entity whit this link: Create a new entity.

Another way to see the list of entities is this link: List of entities. This list doesn't show the structure but allow to edit the entities that depend on the curren entity. From this page you also have the link to create new entities in the lik Add.

When you create a new entity, a new user is also created. The new user has the email of the entity and the password 123.


The form to create a new Entity, allows to define the permissions for this entity:

Every Page has it's own security about who can see and edit these pages (section of Create and edit a page)

Create and edit a page

To edit or create a page go to the list of pages.

You can create a new page clicking the Add link. You can also create a web page with this link.

To edit and existing one, you must click the edit button in the list of pages (on the right of the row).

The page when you create or edit a web page has three areas:


-Web editor

-Advanced configuration


Name: The name appears in the main bar of the browser when the final user sees the page.

Web editor

The Web editor used is the TinyMCE v4.0 similar to most editors in web applications.

Advanced Configuration

When you click the "Show advanced" button, the next elements of configuration appear.

BasePageKey: defines the page to be used as template. (technically: the page can use the head area and foot area of a previous page, usually defined for this purpose. It works in a recursive way.)

Head area: the code included in the web page, previous to your content (usually here is the style of the page or / and elements that appear in all the pages such as too bars, menus, etc.)

Foot area: the conde included in the web page after your content (usually here is the elements that appear in all the pages at the bottom of the page)


The form to create a new Page, allows to define the permissions for this page:  


The Resilience Information Portal allows to define different register structures and insert data on them.

Defining register structures

To see the existing register types and create new ones, you can go to the list of register types.

You can create or edit register types in the same way explained to create and edit pages.

In this case, each register type has a list of register fields. Here you can see the list of fields of the different record types. If your administrator, here you can edit the fields of the record type "contacts".

To insert a new field, you click on the Add link and define the name, order (optional) and type (String, int, Date, ...) of this field.

Inserting registers

To insert a register you can use the general form, for example for contacts: use this link. Or define specific forms for this purpose. This general form provides the basic structure.

Inserting data in pages

The records inserted in the data store can be used in the different web pages, and when the data are updated, these data appear on the web page.

This can be done with different tools. For example, the page Donostia uses the library app-ml to define the data of the news, warnings and contacts. We'll provide other examples to use frameworks, for example AngularJS or plain JavaScript (example of listing the data in a table with JavaScript).

You can list all the registers with links to view, edit and insert new ones with the datalist page.

The data can be shown in different formats, for example, hera are presented in different graphs: page with Graph.

Administrative pages

Besides the user pages, there are also aministrative pages, you can see them in the link of list of pages.

To create an administrative page use this link.

The administrative pages have a code that allows to create links with this name. For example, the link to this page with the code status is: http://domain/status.page. You must define a code and set the useCodeAsUrl checkbox.









This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement no. 653569.