Grid Elements

In case of broken frontend layouts

SELECT

Find content elements:

-- extension gridelements
SELECT `uid`, `pid`, `header`, `colPos`, `tx_gridelements_container`
FROM `tt_content`
WHERE `colPos` >= 0
AND `tx_gridelements_container` > 0
-- AND `pid` = 5813

Update

-- extension gridelements
UPDATE `tt_content`
SET `colPos` = -1
WHERE `colPos` >= 0
AND `tx_gridelements_container` > 0
-- AND `pid` = 5813