Michael van Laar Posted December 13, 2018 Share Posted December 13, 2018 AdminOnSteroids has a nice feature to make pages stick to the top of the page tree. Is there an easy way to do the opposite—make a page stick to the bottom of the page tree? What I’d like to use it for: Usually I have a test page in my PW setup. This is handy because the main content of a page is often created using a Repeater Matrix field. If I add a new type to this field, I can test it on the test page (which usually uses the basic page template). In the page tree, I usually position this test page as the last page before the 404 page. 404 page, the admin section and trash are always at the bottom of the fist level of the page tree. I’d like to see my test page work the same: It should be positioned before the 404 page. And when I add a new page directly under home (with the first level of the page tree being manually sortable), I’d like the new page to be inserted just before my test page instead of just before the 404 page. 2 Link to comment Share on other sites More sharing options...
horst Posted December 14, 2018 Share Posted December 14, 2018 +1 ping: @tpr ?? ? Link to comment Share on other sites More sharing options...
tpr Posted December 14, 2018 Share Posted December 14, 2018 I think it's a very specific need. Perhaps you could dig into AdminOnSteroids code (if it helps) and make your own hook to achieve this. 1 Link to comment Share on other sites More sharing options...
Michael van Laar Posted December 14, 2018 Author Share Posted December 14, 2018 6 hours ago, tpr said: Perhaps you could dig into AdminOnSteroids code (if it helps) and make your own hook to achieve this. Something for the upcoming holidays. :-) Link to comment Share on other sites More sharing options...
cb2004 Posted December 15, 2018 Share Posted December 15, 2018 +1 Link to comment Share on other sites More sharing options...
Robin S Posted December 15, 2018 Share Posted December 15, 2018 Here is a module: ? 5 1 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