Skip to content

Enhancement: Prev/Next and AddNew buttons in edit form #126

@wernerkrauss

Description

@wernerkrauss

Lumberjack is different from a normal GridField or ModelAdmin. It's missing the "prev/next" buttons and "add new" on the bottom right when editing a page.

Right now, Lumberjack redirects to the Page's edit view, which leaves the GridField.

If I add $this->addComponent(GridFieldDetailForm::create(null, true, false)); to my Lumberjack Gridfield Config, I can at least get the prev/next buttons, but it removes the SiteTree listing from the left.

The Add button doesn't work out of the box, cause it'll add the new pages on root and not as a subpage where I added Lumberjack.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions