Jump to content
benbyf

new child pages to top

Recommended Posts

Hi!

Is there any way when a parents children are sorted by the user to enable a new child to be listed at the top of the list?

my site has loads of child pages so it's cumbersome to add a new child and move it when it is listed at the end of the list each time, instead of the top (the same way they delivered on the site reading from the top of the list).

Cheers,

Share this post


Link to post
Share on other sites

there is a module: https://processwire.com/talk/topic/4758-release-pagetree-add-new-child-reverse-on-top/

------

Attention: It is pretty fine to install it before starting a new branch. If you want to install it in a site for an already existing branch, you

1) have to move / rename your existing branch,

2) create a new (empty) branch with the original name

3) move your childpages into the new branch

4) remove the renamed (and now empty) parent page

Edited by horst
  • Like 2

Share this post


Link to post
Share on other sites

Just a reminder: above module is only useful if sorting cannot be set based on some field or created date for example.

  • Like 1

Share this post


Link to post
Share on other sites

will check it out. I want to sort the pages myself but adding new child should appear at top of the list.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By codevark
      The Minimal Site works fine, but if I try to login as admin, I have no idea what the credentials are.
      I did not do the "install" process myself. The OVA came with everything set up, but there's no mention of the PW admin credentials being set to some initial value.
      Wondering if anyone else has tried the Bitnami OVA and if there's a simple answer.
      --Pete
    • By vwatson
      I don't have any fontawesome icons in the admin section. Not sure what's wrong. They used to appear. I've tried all the user profiles and they're gone in all of them.
      Using the browser inspector tool, I see this message:
      Access to font at 'https://www.domain.com/wire/templates-admin/styles/font-awesome/fonts/fontawesome-webfont.ttf?v=4.7.0' from origin 'http://domain.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
      I'm not sure why this is occurring or how to fix it. Any help would be greatly appreciated. 
    • By Flashmaster82
      Is it possible to just show a list (page reference) but without any radio buttons? Or a drop down but the references is not selectable? The items needs to be references but the main thing is that its just a list. Please help!

    • By Andi
      Getting a little deeper into the ProcessWire state-of-mind here. I seriously think I wouldn't have come back to webdev if it wasn't for this wonderful little gem of a CMS.
      I have an "Options" field added to all users on a site. If the user has anything other then "default" selected, I would like to show a permanent message in the admin like the one in the screenshot, only so that the user can't close it. As a friendly reminder that he changed that option from default to something crazy 🙂
      I've read up on how to send messages to users, but where would I hook into to make this show up all the time in the backend?
      https://processwire.com/api/ref/wire/message/
      Thanks in advance!

    • By benbyf
      Hi, Looking to create form elements on a page–some input with a colection of form inputs and the appropriate labels and variables for that input. I've used ProForms in the past and rolled out my own when creating simply one off forms, but I wonder if anyone has found a good way of allowing form creation on page editing so that clients can adhocly make and edit forms?
      Thanks
×
×
  • Create New...