Jump to content
Michael van Laar

Make page stick to the bottom of the page tree

Recommended Posts

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.

  • Like 2

Share this post


Link to post
Share on other sites

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.

  • Like 1

Share this post


Link to post
Share on other sites
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. :-)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...