hellomoto Posted October 14, 2015 Share Posted October 14, 2015 How to write a module that adds links to edit previous or next sibling in page editor? Link to comment Share on other sites More sharing options...
mr-fan Posted October 14, 2015 Share Posted October 14, 2015 It's possible with a special fieldtype without a module just create a field and use plain PHP to get such elements... https://processwire.com/talk/topic/10804-module-runtimemarkup-fieldtype-inputfield/ Prev next navigation example is already there: https://processwire.com/talk/topic/10804-module-runtimemarkup-fieldtype-inputfield/#entry103661 regards mr-fan 2 Link to comment Share on other sites More sharing options...
kongondo Posted October 14, 2015 Share Posted October 14, 2015 There's also the Admin Save Actions module by @Nik: http://mods.pw/3W 1 Link to comment Share on other sites More sharing options...
hellomoto Posted October 19, 2015 Author Share Posted October 19, 2015 Both of those work, but I'd still like to be able to put it in as part of the page edit template itself more so that they appear above and below the fields in any tab. Also, AdminSaveActions doesn't have an option to edit previous page, and for whatever action you choose to carry out, you need to save the page. Maybe you want to browse through in either direction without saving your changes in 1 click instead of 2+. Link to comment Share on other sites More sharing options...
Macrura Posted January 22, 2016 Share Posted January 22, 2016 Both of those work, but I'd still like to be able to put it in as part of the page edit template itself more so that they appear above and below the fields in any tab. Also, AdminSaveActions doesn't have an option to edit previous page, and for whatever action you choose to carry out, you need to save the page. Maybe you want to browse through in either direction without saving your changes in 1 click instead of 2+. yeah, turned out i needed the same thing, so there is this now: https://processwire.com/talk/topic/11932-prevnexttabs/ 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