Add a content type on the INRA portal




1. Convention


By concern (marigold) of conciseness we adopt the following notation:


  • H: Home page of an authenticated user

  • > >: click the links xx > to reach (affect) the page,

    • example: H> > contained > > to Add a content mean: from the home page, to click contents, then the link to add a content

  • ->: click the tab yy >

    • example: H > > contained -> Files mean: from the home page, click contents, then the tab Files

  • = > field Phones = 04 90 66 66 66 mean: bring in the value 04 90 66 66 66 in fields "telephone" of the current page

2 Objective


To describe the procedure of additions of new contents under one of the sizes identified in the portal


3 Prerequisites


The complete description of the 'math-info' portal, in particular its organization into communities as well as the modalities of membership, are described in detail into the 'Presentation->see details' section of the portal home page: The notions described below are only a brief summary of the steps allowing a new contributor to be quickly able to add contents on the portal.

To contribute to the addition of contents on the portal there are two prerequisites: to have an account on the portal and to belong to the community in which you want to publish some contents.

3.1 To have an account on the portal


  • In order to have an account on the math-info portal, you only need to register by clicking the "Join a community" frame or by accessing the following link:


  • Two scenarios appear:

    • You are already have an identifier in the INRA LDAP directory, and consequently you can finalize directly your recording on the portal with this account (the same user name and password);

    • You do not still have any account in the INRA LDAP directory, and consequently you have to follow the INRA LDAP request procedure by filling the dedicated form which is proposed to you. When you will received your identifiers (user name and password), you can mean finalizing your recording on the math-info portal.

  • The finalization of your recording on the portal consist in connecting to the portal with your LDAP identifiers and selecting one or several communities you wish to join.


3.2 To have the right necessities to create new contents


  • To be able to create new contents in a given community you must have chosen to join this community (during the procedure of creation of account on the portal or once connected by clicking at the top in the link "Hello user name" and by modifying your choices of community) and you have to be connected on the portal with your INRA ldap identifiers.

  • You can check your status by clicking on "hello user name" link above on the right of the web page. On the page which corresponds to your profile, choose the tab "edit". A form will display basic information on your portal account, including:

    • Column Role: indicate your rights among: "authenticated user", "editorial team" and "administrator". It is enough to be "identified user" into a given community to be able to add some contents in this community.

    • Column "community": it is necessary to have selected the communities in which you wish to belong to be able to add new contents in these communities.


3.3 How the mechanism of content publication works (workflow)


3.3.1 Basic principle


Any new information has to be moderated by a member of the editorial team before being published and visible on the online site. The purpose of this procedure is to respect the editorial line, to preserve the homogeneity of all the contents of a community and to avoid the errors (redundancy, spam, etc.).

3.3.2 Principle of the workflow


A content is in one of the 3 possibles states:


  • Draft: state by default in the creation of a new content. The user can interrupt at any time his addition of content and resume it later, the content is not visible on the site and is not submitted to the process of moderation.

  • Needs review: the content is submitted to validation by the editorial team. The author can complete/correct the content which is not visible on the on-line portal.

  • Published: the content has been moderated and validated by a member of the editorial team, it is published and visible in the column and the ad-hoc community.

Any new content is created in draft state, it remains in this state so much that its status is not modified by the author or the editorial team. He can take 2 other states:

  • Needs review

  • Published

3.4 Choose a language of editorial staff


The math-info portal allows to manage contents either only in French, or only in English, or in a, independent way of the language.

All the contents of the portal can be drafted either in French or in English, or in both languages. According to the language choice (available in all the forms of addition of contents), the display of the contents on the online site will be made either only on the French version of the portal, or only on the English version, or on both versions with the following rule:

  • If the contributor of the content chooses the 'French' language in the form, the content will be only shown when the language selected by the browser of the user to display the portal will be French;

  • If the user chooses the language 'English' language in the form, the content will be only shown when the language selected by the browser of the user to display the portal will be English.

  • If the contributor of the contents chooses the option 'Independent from the language' in the form, the content, whatever it is drafted in French or English, will be posted in an identical way on the French versions and English of the site. This option is particularly useful for English contents (for example references of scientific articles, announcement of international conferences) that can appear in English in the two French and English version of the portal.

The selection of the language of display by default can be made in the regulation of the parameters of the profile of the user:

Hello User name > = > field Language = English

Attention: in every content form, it will be necessary to choose explicitly the value of the language if we do not wish to keep the value by default.

3.5 Type of contents in the math-info portal


The types of contents for whom you can seize with the information in a given community are listed in the following board:

Type of contents 




In the news

A la une

The reference of a recent scientific article of interest in a given community.

Basic page

Page statique

A page of elementary size (without particular structuring). This size is rarely used except in specific cases - contact the team of maintenance.

Calendar event

Événement Agenda

An event to come (meeting, conference, call for projects) that you wish to announce.



The information describing a course (teaching dispensed in a university, an engineering school).

Engineer job

Offre ingénieur

The information concerning an offer of level post engineer fixed-term contracts.

Engineering ressources

Ingénierie et réseaux métiers informatiques

The INRA structures to federate the resources in computer science engineering (CATI and PEPI).

Training session


The information characterizing an offer of training session.


Réseaux et groupes de travail

The characteristics of the various networks and the scientific working groups of a community.



An information of current events susceptible to interest a (several) community (ies).



A partner within the framework of a scientific project.

Permanent position

Offre de concours titulaire

An announcement of post within the framework of the recruitment drives of holders.

PhD ans postdoc position

Offre de thèse/Post-Doc

An offer of thesis or post-doctorate in one of the communities.



A platform dedicated in a set of departments in a community.



A recent or current scientific project into a community.

Research training position

Offre de stage

The information describing an internship offer in a community.



The information describing a software bound to a community.

Stricking fact

Fait marquant

The information describing a striking scientific fact.

4 Modus operandi


1.1 How to create a content

Here is an example of creation of an 'events' content.

  • There are two ways to reach the dedicated forms:

    • H> > my workspace -> Create a content > > Current events

    • where

    • contained > > + addition of the contents > > Current events

1.2 Fill the fields of the posted form


  • Fields marked with one * must be necessarily filled in

  • Fields exhibit following types:

    • long text

    • short text

    • multiple choices in a drop-down menu

    • radio-button

    • selection of date (drop-down menu)

Case of text fields length:

riche texte desactivériche texte activé

  • As we deactivated the rich text or activated the rich text in the text fields, it will create a suite of buttons to facilitate the shaping of the text. These buttons correspond to classic features of a text editor.

In the 'rich deactivated text' mode, the user will display the raw HTML coding in the kilometer. To user only can change a tag or a specific index.

  • 4 levels all available for text edition. These levels correspond to degrees of permissiveness the user will have during the seizure of an information:

    • Filtered HTML -> Some HTML tags are filtered (average safety) = > advised mode

    • HTML full house -> All the HTML tags are authorized (low safety)

    • High tide text -> No HTML tag is authorized (maximum safety)

    • PHP Codes -> Code (no safety)

The recommended solution to simplify the addition of a formatted text (but without image) is to draft this one with its preferred editor (for example LibreOffice) then to stick the whole contents by making one copy (CTRL-A / CTRL-C) in the document open-office and a copy from word

paste from Word icon  in the window of edition of the rich text.

Create a link in the text


  • Highlight the chain of character which will point at the link

  • to click the icon "link of chain" to complete the form

    • to indicate the url completes of the link

    • to specify the target by default we wish that the pointed page opens in a new page of the browser (target = open in has new window)

Add an image


On most of the contents there is one field "image" which allows to download on the server an image which will be posted in the contents. The images have to be in one of the png, gif, jpg or JPEG format and can not exceed 50 Mb. It is deeply recommended to convert images in label of very light size to avoid problems and long time answers of the portal.

4.2 Box of menu at the bottom of page

menu bas de page

  • Parameter of the menu

    • Do not modify

  • Parameters of the paths of URL

    • Do not modify

  • Parameter of the comments

    • Closed by default, you can open it if to wish you that the identified Internet users can add a comment following your content

  • Information of publication

    • Allows to specify the author and the date of the creation / modification (automatic during the creation, to modify explicitly during the modifications)

  • Option of publication

    • This option is preempted by the mechanism of workflow: do not modify