stizzle Posted November 9, 2018 Share Posted November 9, 2018 Hi guys! Great piece of software! ? However, after developing a few sites with ProcessWire I'm stuck and need your help: My setup is as follows: Repeater Matrix First attempt: Enabed conventional front end editing via PageFrontEdit Second attempt: Front end editing with FEEL Module Scenario: I want users to be able to manage their content (Repeater Matrix items) as usual on the PageEditContent page - ok. I want them to be able to view their content using "View -> Panel" mode - ok. I also want them to be able to edit their Repeater Matrix items via Front end editing when viewing the page normally - ok. Here comes the tricky part: When in "View -> Panel" mode, I want them to be able to edit a specific Repeater Matrix item the same way they would from the front end from within the panel. First attempt: Content is saved, but content in panel is not reloaded and also the content inside the Repeater Matrix edit fields is not reloaded. Have to hard-reload the page to see changes. Second attempt: Content is saved, content in panel is reloaded but the content inside the Repeater Matrix edit fields is not reloaded. Have to hard-reload the page to see changes there. I guess by now you know what I want to achieve: Be able to edit content in the conventional way, enable front end edit it "real" front end but also inside "View -> Panel" mode and reflect content changes in both the "View -> Panel" as well as inside conventional Repeater Matrix edit fields. Do you guys have any suggestions how to achieve this? Thanks in advance! Link to comment Share on other sites More sharing options...
stizzle Posted November 27, 2018 Author Share Posted November 27, 2018 No one has an idea how to solve or work around this? ? Would it be possible to trigger a page reload on closing the panel? Is there any event I could use for that? Sorry for pushing this to the top again. Link to comment Share on other sites More sharing options...
Zeka Posted November 27, 2018 Share Posted November 27, 2018 @stizzle You can try to use 'pw -panel-closed' event. Link to comment Share on other sites More sharing options...
dotnetic Posted November 27, 2018 Share Posted November 27, 2018 Yes, what @Zeka said can be used: $(document).on('pw-panel-closed', function (event, panel) { window.location.reload(); //console.log(event); //console.log(panel); }); Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now