Jump to content

list of pages that use a template


ceberlin
 Share

Recommended Posts

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
Link to comment
Share on other sites

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