ceberlin Posted October 30, 2013 Share Posted October 30, 2013 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? 1 Link to comment Share on other sites More sharing options...
k07n Posted October 31, 2013 Share Posted October 31, 2013 Setup -> Templates There is a table: | Name | Label | Fields | -> Pages <- | UPD: oh, it's just a counter =\ Link to comment Share on other sites More sharing options...
Soma Posted October 31, 2013 Share Posted October 31, 2013 This was in the "header" Title of the template edit screen, but since it is gone now in the new admin theme version... Link to comment Share on other sites More sharing options...
ceberlin Posted October 31, 2013 Author Share Posted October 31, 2013 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. Link to comment Share on other sites More sharing options...
DaveP Posted October 31, 2013 Share Posted October 31, 2013 You can, to a degree, achieve that functionality with Nik's Selector Test Module. Link to comment Share on other sites More sharing options...
MadeMyDay Posted October 31, 2013 Share Posted October 31, 2013 Or with the "classic" search in admin -> extended -> template. Just keep search input empty. 1 Link to comment Share on other sites More sharing options...
Soma Posted October 31, 2013 Share Posted October 31, 2013 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. 2 Link to comment Share on other sites More sharing options...
ceberlin Posted October 31, 2013 Author Share Posted October 31, 2013 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. Link to comment Share on other sites More sharing options...
ryan Posted November 2, 2013 Share Posted November 2, 2013 Just added and will commit this weekend–thanks Soma. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now