en	Step 1

en	Step 2

en	Step 3

en	Please SELECT all grid elements you want to migrate.

en	<strong>Attention:</strong> You must have registered the EXT:container elements before! And please make a <strong>backup from your database before start the migration</strong>

en	<small>with gridelements-container:</small>

en	No title

en	Select All

en	analyse content elements

en	with gridelements-container:

en	Flexform configuration

en	Flexform content

en	Old flexform value from gridelement

en	If you want to continue using the old flexform content, check the box, otherwise select one of the options below

en	Old flexform value(s)

en	The following XML is only an example of the XML of the respective elements. Of course these can differ and are also migrated element related.

en	New flexform value to be inserted

en	Clean flexform field

en	<strong>Important:</strong> Please check if your grid element had a flexform configuration and if you want to replace it. By default, <strong>the pi_flexform field is cleared during migration!</strong> This could lead to errors in the frontend if a flexform configuration is expected.

en	Content elements from this gridelement

en	Old column-ID:

en	New column-ID:

en	Same column-ID

en	New EXT:container element-identifier e.g. ce_columns2

en	migrate now

en	No elements selected

en	Sorry! You have not selected an element to migrate. Please start from the first step!

en	Please CHECK the data

en	Please check the data on this page and note the content elements and column ids.<br><strong>Attention: </strong>If you <strong>don't want</strong> the same column ids like gridelements, <strong>uncheck</strong> the option "Same column-ID" for each content element

en	Congratulations

en	Error

en	Your gridelement-container migration was successful

en	Sorry! The gridelement-container migration step was unfortunately not successful, please check your settings.

en	Your contentElement migration was successful

en	Sorry! The contentElement migration step was unfortunately not successful, please check your settings.

en	Important notice

en	If you do not know which grid elements are on your page

en	click here

en	Autofill

en	If you have already setup all code from Get Container Code then

en	Autofill

en	Migrate gridelements to container <small>migrate all elements you want!</small>

en	Analyse <small>the grid elements</small>

en	Grid elements in this website (EXT:gridelements)

en	Gridelement-Layout element:

en	For example on site with id:

en	<strong>Grid element with:</strong> %1$s element/s

en	Migrate to EXT:container

en	Registration of Container Elements

en	This is an example to create a 2 column container. The code snippet goes into a file in your sitepackage or theme extension in the folder <code>Configuration/TCA/Overrides/</code>. The file can have any name but it is good practice to name it according to the database table it relates to. In this case this would be <code>tt_content.php</code>.

en	<code>\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\B13\Container\Tca\Registry::class)->configureContainer(<br> (<br> new \B13\Container\Tca\ContainerConfiguration(<br> 'b13-2cols-with-header-container', // CType<br> '2 Column Container With Header', // label<br> 'Some Description of the Container', // description<br> [<br> [<br> ['name' => 'header', 'colPos' => 200, 'colspan' => 2, 'allowed' => ['CType' => 'header, textmedia']]<br> ],<br> [<br> ['name' => 'left side', 'colPos' => 201],<br> ['name' => 'right side', 'colPos' => 202]<br> ]<br> ] // grid configuration<br> )<br> )<br> // set an optional icon configuration<br> ->setIcon('EXT:container_example/Resources/Public/Icons/b13-2cols-with-header-container.svg')<br> );</code>

en	Information

en	For more information go to the official documentation from EXT:container. <a class="btn btn-default" href="https://github.com/b13/container/blob/master/README.md" target="_blank">Go to the documentation</a>

en	Notice

en	<strong>All information on this site does not claim to be complete or correct.</strong> This information is intended only as a guide for developers.

en	Migration per element

en	Support & Sponsors

en	Migration from gridelements layout key

en	Analyze website

en	Get Container Code

en	Great that you are using this extension!

en	Current sponsors

en	The following companies have already supported this extension.

en	D&T Internet GmbH

en	(hidden element)

en	Migrate all elements individually

en	If you don't want to migrate the grid elements individually, but by grid-layout in general,

en	Column id/s

en	Information about this function

en	This function migrates all gridelements and content elements with the selected gridelements-layout keys. <strong>Not tested is a migration of nested grid elements</strong>

en	Example Extension

en	An example extension can be found here:

en	Get Container Code

en	Important

en	This is automated container code suggesion based on config retrived from gridelements database, it can be not be 100% correct.

en	PHP

en	You can copy paste the following code in your own extension for example in EXT:sitetemplate/Configuration/TCA/Overrides/tt_content.php

en	Typoscript

en	You can copy paste the following code in your own extension for example in EXT:sitetemplate/Configuration/TypoScript/Setup.typoscript