Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wernerkrauss opened this issue Jul 11, 2023 · 0 comments
Open

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

wernerkrauss opened this issue Jul 11, 2023 · 0 comments

Comments

@wernerkrauss
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants