Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

Announcements

Tristan Lins edited this page Jan 18, 2015 · 3 revisions

5. generation of Theme+ is arriving!

The 5. generation of Theme+ is more than an enhancement, it is a complete rewrite! This version of Theme+ use services, dependency injection, events and caches. Fortunately the database is still compatible with its previous versions, updates are possible with little limitations.

Assetic 2

Theme+ 5 based on assetic integration version 2. The new version of assetic also use services, dependency injection and events.

Event based logic

Internally Theme+ 5 now use events to collect (from TL_CSS/TL_JAVASCRIPT, the database, etc.), organise (sort and combine into collections) and render (into html) assets. Have a look into the ThemePlusEvents class for all events.

The advanced asset cache

The advanced asset cache is one of the most interesting parts of Theme+ 5. Previously it was impossible to combine the asset filters from Theme+ with the Contao page cache. The advanced asset cache allows to combine both!

Compatiblity layer has dropped

In Theme+ 4 there were a compatibility layer for the old namespace and class namings, this layer is dropped. If you still use the old API, it is time to switch now!

Build-in asset filters are dropped

In Theme+ 4 there were an insert tag filter, a contao theme variable filter and a theme+ variable filter. These filters are now dropped, they may be provided as additional packages in the future.

Build-in variables are dropped

In Theme+ 3 the variables feature were introduced. These are dropped and may be provided as additional package in the future.

Content elements and modules are dropped

The JavaScript content element and module are dropped. These may be provided as additional package in the future.

Insert tags are dropped

The {{include_theme_file::*}}, {{embed_theme_file::*}}, {{insert_additional_sources::*}} and {{include_additional_sources::*}} insert tags are dropped.

Editor integration is dropped

The WYSIWYG editor integration is dropped.