Hi there. New to PW but plenty of other CMS experience. Loving PW so far so thank you folks!
I've installed Fredi on PW 2.6.1 and using it to create and modify pages just fine. The plan is to let 'front end' users add, modify and delete their own adverts to a site that I'm building.
It's all working as planned except the follow up when deleting a page. On clicking the delete tab, checking the confirmation box and finally clicking 'Delete Permanently' the modal confirms (admin style) that the page has moved to trash and then shows the page tree within the modal. As this is a front end delete I'd really like the modal to close and return to a certain page at that point (e.g. a list of the users other adverts).
So, my question is...is the page tree view after delete expected behaviour or am I doing something wrong?
Code for delete button as I'm using it is:
echo $fredi->hideTabs("content|children|settings")->setText("Delete This Advert")->setClass("btn btn-primary")->render("title|vendor|price|body|page_image");
Many thanks in advance. Have already learned a huge about about PW from everyones helpful posts!