Upgrade to version 3.0 (Unpublished)
In version 3.0 of Boxes, the following new features will be introduced:
The plugin now comes with a revision system for each page. This introduces a new workflow for editing content:
- All changes in the Boxes Editor happen in a draft state.
- When you are done editing, you have to publish the changes to the live site.
Since this is a major change, the new major version will be 3.0. If you want to keep using the old workflow, simply stay on version 2.0. Note that no new features will be added to the 2.0 version.
The plugin now comes with a new "References" partial. This partial is displayed by default. To opt out of this feature, set the
BOXES_DISABLE_REFERENCES environment variable to
The Reference partial allows you to re-use existing Boxes from other pages. This enables you to create a "global" set of Boxes that can be re-used on multiple pages.
Changes to the referenced Boxes will be reflected on all pages that use them.
Upgrade to version 2.1
In version 2.1 the Boxes content that is attached to custom models has been moved to a new
This means you have to change the
Page model to the new
Content model in any
morphOne relationship you have defined in your own models.
public $morphOne = [ 'your_relation' => [ - \OFFLINE\Boxes\Models\Page::class, + \OFFLINE\Boxes\Models\Content::class, 'name' => 'content' ] ];