Jump to content

allowed templates on a page-basis


bernhard
 Share

Recommended Posts

there's already this moduly by bitpoet for allowed parent pages: https://processwire.com/talk/topic/12793-template-parents/

i think it would be awesome to be able to select the allowed children on a per page basis.

for example one could create a page "tools" on the tree. that page could be of template "item", like many other pages (just a title field). now it would be great to have the possibility to configure the allowed child templates somehow.

- tools (item)

   - tools A (item)

      - foo X (foo)
      - foo Y (foo)
      - foo Z (foo)

   - tools B (item)

      - bar 1 (bar)
      - bar 2 (bar)
      - bar 3 (bar)

at the moment this would need a template setup like this:

- tools (items) -> allowing foos and bars

   - tools A (foos)

      - foo X (foo)
      - foo Y (foo)
      - foo Z (foo)

   - tools B (bars)

      - bar 1 (bar)
      - bar 2 (bar)
      - bar 3 (bar)

i would be interested to hear your thoughts on this

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