News about Contao

Read the official Contao announcements.

Contao 3.1.RC1 is available

by Leo Feyer

Contao version 3.1.RC1 is available. Please do not use beta versions for productional websites! Download the release to check whether your website or custom extension needs adaptation.

A list of new features is also available in the Contao 3.1.beta1 announcement.

Disable modules

You can now enable or disable front end modules in the page layout without having to delete the entire row from the list of included modules.

Multicolumn indexes

The Data Container Array now supports creating indexes over multiple columns:

'sql' => array
(
  'keys' => array
  (
    'id' => 'primary',
    'pid,name' => 'unique',
  )
)

This will create a unique index over the pid and name columns.

Click to edit

You can now edit elements by clicking them, without having to use the edit icon. The following actions are supported:

  • [Ctrl] + click: edit the element
  • [Ctrl] + [Shift] + click: edit the element settings

On Mac OS, the command key is used instead of the control key:

  • [Cmd] + click: edit the element
  • [Cmd] + [Shift] + click: edit the element settings

Reworked error screens

The error screens showing the yellow box have been adjusted to the system design and are now available in multiple languages. This includes the following messages:

  • General error
  • Invalid request token
  • Incomplete installation (new)

initializeSystem hook

The initializeSystem hook is executed when the system is initialized, right before the initconfig.php file is included. This will allow extensions to modify the initialization process without having to write PHP code into the initconfig.php file.

Back to news overview.

Add a comment

Comment by Julien Thirion |

Good work! This function "Click to edit" is really usefull! I try to translate the changelog in French, i hope French Companies and Developpers will develop their websites with Contao in the future ;-)

Keep going on that way!

Contao books and videos