by Leo Feyer
Contao 4.0.0-RC1 is available
Contao version 4.0.0-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.
Please also read the version 4.0.0-beta1 announcement to learn more about the new features.
Installation
At the moment, you can only install Contao 4 via Composer on the command line:
php composer.phar create-project contao/standard-edition <target> 4.0.0-RC1
Once the Composer installation has been completed, you have to open the Contao install tool, which is now under /app.php/contao/install (formerly /contao/install.php).
In the future, it will also be possible to install Contao in the browser using the Composer package manager or a separate install tool. If you want to add Contao to an existing Symfony application, check out the installation instructions of the core bundle.
Schema.org markup
All templates have been supplemented with schema.org attributes where applicable.
Template names
The templates have been renamed so their names match the keys of the content elements and modules. This allowed for adjusting the "individual template" drop-down menu to e.g. only show the ce_text_* templates in a text element instead of all ce_* templates.
ce_accordion→ce_accordionSinglece_accordion_start→ce_accordionStartce_accordion_stop→ce_accordionStopce_slider_start→ce_sliderStartce_slider_stop→ce_sliderStopmod_article_list→mod_articlelistmod_article_nav→mod_articlenavmod_random_image→mod_randomImagemod_event→mod_eventreadermod_newsletter_list→mod_newsletterlistmod_newsletter_reader→mod_newsletterreader
Template consolidation
The following templates have been consolidated:
ce_hyperlink_image→ce_hyperlinkmod_article_plain→mod_articlemod_article_teaser→mod_articlemod_login_1cl→mod_loginmod_login_2cl→mod_loginmod_logout_1cl→mod_loginmod_logout_2cl→mod_loginmod_search_advanced→mod_searchmod_search_simple→mod_searchmod_eventmenu_year→mod_eventmenumod_newsmenu_day→mod_newsmenumod_newsmenu_year→mod_newsmenunl_list→mod_newsletterlistnl_reader→mod_newsletterreader
Module keys
The following module keys have been changed:
articleList→articlelistrss_reader→rssReadernl_list→newsletterlistnl_reader→newsletterreader
Space before/after
The "space before/after" setting has been removed. Assign a CSS class instead and define the spacing in a style sheet.
Form IDs
All forms now append their numeric ID to the form ID, so the value of the FORM_SUBMIT variable is e.g. no longer tl_login but tl_login_24.
Template->hasAuthenticatedBackendUser()
The method $this->hasAuthenticatedBackendUser() is now available in all templates to check whether there is an authenticated back end user.
Saving form data
When saving form data in the form generator, date fields are now automatically converted to Unix timestamps.
Hook "getArticles"
The "getArticles" hook has been added instead of the ArticleRasterDesigner hook.
Windows compatibility
The symlinks are now created as absolute links on Windows systems.
Also see: GitHub tickets | GitHub compare view | Contao changelog | Release overview
Add a comment