This repository has been archived by the owner. It is now read-only.
EE1 extension that cleans up your Matrix field-column associations after duplicating a site with MSM.
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.textile
ext.matrix_tidy_cols.php

README.textile

Matrix Tidy Cols

When you duplicate a Matrix field in EE1 with MSM, Matrix isn’t given a chance to duplicate its columns as well, so the result is two Matrix fields sharing the same columns. This becomes an issue when you edit or delete a column in one site, because the change affects both Matrix fields.

This extension resolves that problem by auditing each of your Matrix fields, ensuring that all column associations are unique, duplicating columns and migrating data as needed.

Installation

To install Matrix Tidy Cols, upload ext.matrix_tidy_cols.php to your system/extensions/ folder.

Usage

Whenever you duplicate a site with MSM, make sure you go to Admin > Utilities > Extensions Manager, and click the “Enable” button beside Matrix Tidy Cols. The script will run, and you will be given a log of what happened. After returning to the Extensions Manager page, the Matrix Tidy Cols extension will still be disabled, because it doesn’t actually install any extension hooks. Don’t worry about it.