Jump to content

A way to list the used template files or other page fields beside the page title in pagetree


lisandi
 Share

Recommended Posts

Case:

You have to edit thousands of pages and assign to several pages different templates.
i.e. when you import pages via csv/txt

If you now have to change a branch of pages to use another template you have tp click every single page to do so, which costs a lot of time. beside this it is a huge resource fopr errors that one page gets skipped. To find those pages is not easy as you again have to click every single page than settings and than read what template gets assigned click again to get out and to the next page.

A better way would be if there would be a way to list certain db fields from pages also beside the pagetree.

i.e.

pagetitle - used template file - any other field i.e. from SEO

With a click of the "used template file" you would get immediately to the tab on that specific page to change the template. dito to modify other page related settings or fields.

To get an overview it would be not enough to have only one page listed with these options. More usable would be to have the possibility to list actually branches or even the complete pagetree with their assigned additional fields and data in a table style to see immediately when i.e. template file hasn't been filled with the correct value or if th seo data of a certain page is missing or wrong. etc.

Link to comment
Share on other sites

I'm pretty sure that those things can be done already.

Styling the Pagetree can be done with a CustomModule like here: https://processwire.com/talk/topic/5609-display-a-template-icon-base-on-date-field/

And to get a list of all pages by certain criterias (template, parent, empty fields etc.) can be done with Find / Lister:

post-1041-0-64215700-1416136352_thumb.jp

  • Like 4
Link to comment
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
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By SwimToWin
      Skip the "Add New" dialog page on Page Tree and elsewhere and go directly to the resulting page that shows all page fields right away. Page creation is now improving from being a two-step to becoming a one-step process.
      Scenarios:
      When only one Template can be selected: Skip the intermediate "Add New" dialog page by adding a GUID or other temporary page name that is later renamed. Show the final editing page so user can start editing all fields right away On Save: Page name is renamed with title When multiple Templates can be selected: Ask user to select Template on clicking New (before leaving the Tree Page). Then use the "one Template" flow above. (I am aware why the Page Name is needed.)
    • By benbyf
      Hi,
      Been updating fields on a live site from my dev site to get them in synch and I noticed repeater pages visible in my pagetree on teh live site. What might I have done to have this happen? The repeater module was enabled on both sites.

    • By Xonox
      Hi,
      I updated a site from version 2. something, can't recall for sure, to version 3.0.39. All is working fine on local server. However, when I uploaded to online server, the page tree display stopped working.
      1. Whenever I try to access the page tree it gives an alert with the text: Uknown error, please try again later
      On the console I can see the following:
      GET http://mysite.com/admin/page/list?id=1&renderJSON&start=0&open=undefined&mode=actions 500 (Internal Server Error) JqueryCore.js?v=1478723146:2
      2. Whenever I try to access the page children (when editing a page) it gives an alert with the text: Uknown error, please try again later
      On the console I can see the following:
      Failed to load resource: the server responded with a status 500  http://mysite.com/admin/page/list?id=1040&renderJSON&start=0&lang=0&open=undefined&mode=actions (Internal Server Error)
       
      When I was updating, I got an error on the site config.php file. I forgot to update the $config->httpHosts for the domain in the new server, which was corrected after the update.
      The server is running PHP 5.4, MySQL 5.5.52, PW updated to 3.0.39
      Any clues?
    • By dfile
      Hello! I'm new here and have a question:
      i want to force pages to stay at the bottom of the pagetree:

      I edit the ProcessPageListRenderJSON.php and it works.
      class ProcessPageListRenderJSON extends ProcessPageListRender { protected $systemIDs = array(); public function __construct(Page $page, PageArray $children) { parent::__construct($page, $children); $this->systemIDs = array( $this->config->http404PageID, $this->config->adminRootPageID, $this->config->trashPageID, $this->config->loginPageID, //system login #################################################### 1088, 1036, ################################################################### ); } Is there a way to do this without hardcode it in the ProcessPageListRenderJSON.php?
    • By nurkka
      Hi,
      when moving a page in the page tree via drag'n'drop, it was not possible (for me) to move it one level down beneath another page. This only works, when the destination page already has a child page.
      Is there a trick to do drag and drop a page one level beneath another page, even if this page hasn't already got a child page?
      I tried this in Firefox and Chrome.
      Thanks in advance.
×
×
  • Create New...