Peter Verkooijen

How to manage many child pages in admin?

Recommended Posts

What happens when you have many - dozens, hundreds, ... - child pages in the tree, like typically 'posts' for a page 'blog'?

Can you put them under their own management section on the top admin bar/masthead? How?

Or will that happen automatically?

This question has probably been answered many times in many different ways, but I am probably using the wrong search terms. Or it is something painfully obvious that I am overlooking. Don't know where to start with this.

ProcessWire is great btw! Seems to get everything right that Wordpress got wrong.

Edited by Peter Verkooijen

Share this post

Link to post
Share on other sites

Welcome to the forums!

The child pages becomes paginated. Default is 50 pages before pagination. You can change it under Modules Page List.

  • Like 1

Share this post

Link to post
Share on other sites

Peter - this was one of my questions too before I started using PW. Luckily PW handles this natively in a very cool way via pagination as @Mats mentioned.

There's a few other nice touches which PW features:

The search in PW is lightning fast and allows you to jump to any page within seconds. Even if that page is buried within container pages etc, it's a quick operation.


PW has a Recent (Pages) shortcut under the Pages tab which is another great way to access recent pages within a few clicks.


Finally, there's a paid Extra called ListerPro which allows you to save views of certain pages. 

It's a good question but not anything you need to be worried about. I think the PW demo of the fictional SkyScrapers site (see link on PW site) holds some bunches of pages within the paginated format. Worth a quick look.

  • Like 1

Share this post

Link to post
Share on other sites

Thanks for the responses!

I now see the admin demo for the Skyscrapers site. It is a decent solution. 

But I think the PW profile module (?) for a blog had an admin bar tab for posts. Is there a way to do that; move a group of child pages to their own admin section?

Share this post

Link to post
Share on other sites

Hi Peter!

The pages tree in the admin becomes paginated after 50 pages or more unless you change the default setting. You can also use the lister to search/filter pages on template/parent/what ever.

On the front end it's entirely up to you how you would like to display the pages/list of pages.

EDIT: I see you changed your question, so this answer might seem a bit off topic. 

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 cosmicsafari
      Hi all,
      From my attempts it seems like this is not possible but thought I would raise it here before scrapping the idea and trying something else.
      I have an importer script reading a third party feed and creating some pages (page_type_A) based on that.
      It also creates some other pages (page_type_B) which are by default set to unpublished as the third party don't seem to have control over some of the data they send us, so we set them to unpublished so that someone on our end needs to approve them, so far so good.
      The issue I have encountered is that page_type_A at creation uses the API to set one of its fields to a particular page_type_B, the field is setup as PageSelector. When I look at the database this seems to work fine, but if you go into page_type_A the Page Selector list is always preset to blank?
      I updated the Page Selector and set the Selector String to use "include=all" which does populate the drop down with all the correct pages but since there all unpublished it never seems to be preselected to the one which is actually saved as in the DB.
      Hope that makes some sort of sense.
    • By carrdesigns
      In the admin, I am trying to access data from a page that contains an inputfieldand autofill that data into the modal edit window for a new entry.
      For instance, I have a template which contains a PageTable field. When I add a new entry to the PageTable, I want to capture the ID from the originating admin page and add it to a field in the edit modal as a way of linking the new entry back to the originating page. The new PageTable entries are NOT children of the originating page, and cannot be for structural reasons. I have attached an image which I hope will help to clarify the basic result I want to achieve.
      Is there a practical means of accomplishing this? I've been able to achieve something similar with the ConnectPageFields module, but it does not work with PageTable fields. Any input would be much appreciated.

    • By Vinnie
      Hi all, Im trying to fill an options field in all the children of the parent page, after I save it. 
      the options field is configured as multiple select checkboxes. here's the code i have so far:
      $this->addHookAfter('Pages::saved', function($event) { $page = $event->arguments[0]; //set the page if($page->template == 'sport-verenigingen-overzicht') { //get the subcategories from the parent textarea, split on newline $subcats = preg_split('/[\n\r]+/', $page->subcats); //(also tried without imploding and adding the array, also doesnt work) $subcats = implode("|",$subcats); //get the children $children = $page->children(); foreach ($children as $child) { //set the options(sport_categorie is the options field) $child->sport_categorie = $subcats; $child->save('sport_categorie'); } //if i use a normal textfield instead of an optionsfield, //all the children have the correct data e.g: test1|test2|test3 //how to get the values into the options field?? } }); Hope you guys can help! Keep up the good work, I'm loving what you're doing with PW!!
    • By xfroggy
      So I am trying to pull some information from another ProcessWire installation within the admin area (_main.php / page tree from the AdminThemeUikit module).
      $pwpath = "/path/"; $pwurl = "https://url.example"; $pw = new ProcessWire($pwpath , $pwurl); which then gives me this error
      I then read that if it is not already in a ProcessWire environment that I would have to include the core, 
      require('/path/to/wire/core/ProcessWire.php'); Which I tried, and makes sense that it already says it is included.
      So what now?
      Here is my _main.php from the AdminThemeUikit module (work in progress), just for reference
    • By Pixrael
      Hi guys!
      What do you think about something like this? Because I use this option regularly in the Windows File Explorer breadcrumb and it's very useful. The drop-down menu can display only published/visible child pages. I've tried to find how to do it as a module, but I'm not a coder with enough skills for that ... or I don't know if I can use hooks to do that ...