Jump to content

Recommended Posts

Posted

I am sure I saw this working - now I am searching for it like crazy:

I need to know what pages use a certain template (like I can see what templates use a field).

I just can't remember where that was. 

I would expect to see it in the templates list, clicking on the "number of pages using the template" in the template's row 

UPDATE:

in P.W. 2.3 I see this information on the template page of the skyscraper demo, like so "This template is used by 210 pages"

I can*t see this info in the dev version. Or does it need a certain module?

  • Like 1
Posted

Setup -> Templates

There is a table:

| Name | Label | Fields | -> Pages <- |

UPD: oh, it's just a counter =\

Posted

This was in the "header" Title of the template edit screen, but since it is gone now in the new admin theme version... :)

Posted

I really would love to have this useful feature back.

I was about to changing a template for specific needs, then I realized I used it somewhere already where the new changes created a mess.

Posted

Go to the /wire/modules/Process/ProcessTemplate/ProcessTemplate.module #299 and replace the line with

$row["{$numPages} "] = "$numPagesLink"; // space is required to make it work

and you'll have the number pages count in the template table the search link. The $numPagesLink is already there but not output, maybe Ryan wanted it to add there but forgot.

  • Like 2
Posted

Thank you Soma, I will open an issue to ask to have that added officially. (I don't like modifing anything within wire myself).

Thank you DaveP for the workaround.

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.
×
×
  • Create New...