Jump to content

Include template name in admin page list


Lance O.
 Share

Recommended Posts

So you are saying, something like this?: Edit: No. see next post for clarification.

Admin

Setup

Templates

basic-page

home

my-other-tpl

search-tpl

etc-tpl

Those would have to be child pages of Templates, I believe..The module would create a new child page under Templates in the Admin tree whenever a new template was created. Just thinking out loud here...

http://processwire.com/talk/topic/1272-new-page-nav-in-admin/

Edited by kongondo
Link to comment
Share on other sites

To clarify, viewing the list of pages within PW typically looks like this:

About Us 3 | edit | view | new | move

       Our Board edit | view | new | move

       Our Leadership edit | view | new | move

       Our Partners edit | view | new | move

I'd like the ability to add the template name next to the page title, using the List of fields to display in the admin Page List from the Advanced tab of template.

About Us (template-a) 3 | edit | view | new | move

       Our Board  (template-b) edit | view | new | move

       Our Leadership (template-c) edit | view | new | move

       Our Partners (template-d) edit | view | new | move

Link to comment
Share on other sites

I'd like the ability to add the template name next to the page title, using the List of fields to display in the admin Page List from the Advanced tab of template.

Have you tried adding "template" there? Works for me already. Doesn't look exactly like what you posted above, though, more like this:

About us, template-a 3 | edit | view | new | move

    Our Board, template-b | edit | view | new | move

    (etc.)

  • Like 5
Link to comment
Share on other sites

You can also use "subfields" like template.name, template.id ... maybe not a good example but you get the idea, most or all that can be also used in selectors like created_users_id etc.

  • 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...