qbus/qbbootstrap

Bootstrap content elements based on b13/container or gridelements

Installs: 56

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 4

Forks: 0

Open Issues: 0

Type:typo3-cms-extension

2.0.1 2024-04-19 16:59 UTC

README

How to switch from gridlements to b13/container

  1. Execute following SQL
alter table tt_content add column if not exists tx_container_parent int(11) DEFAULT '0' NOT NULL;
update tt_content set CType = REPLACE(tx_gridelements_backend_layout, '_', '-') where CType = 'gridelements_pi1' and tx_gridelements_backend_layout like 'qbbootstrap_%';

update tt_content A set colPos = 200 + tx_gridelements_columns, tx_container_parent = (select l18n_parent from tt_content where uid = A.tx_gridelements_container limit 1) where colPos = -1 and l18n_parent != 0 and tx_gridelements_container in (select uid from tt_content where CType like 'qbbootstrap-%');
update tt_content set colPos = 200 + tx_gridelements_columns, tx_container_parent = tx_gridelements_container where colPos = -1 and l18n_parent = 0 and tx_gridelements_container in (select uid from tt_content where CType like 'qbbootstrap-%');

-- Opinionated migration for qbbootstrap v1 compat
update tt_content set header_layout = 100, frame_class = 'none', sectionIndex = 0 where CType like 'qbbootstrap-%';
  1. Uninstall EXT:gridelements
  2. Install EXT:container