Jump to content

Automatic Page Name Skipping Add New Step


Lars282
 Share

Recommended Posts

Hey all

I would like to skip the "Add New" step where users manually need to enter a page name for some templates.

I have found this http://processwire.com/api/modules/process-template/, where it says it should be possible in the template settings when you only allow one child. Is this a module? If so, where can I get it? I can't seem to find this in the modules list.

Or is it already part of PW core? 

Thanks for your help

Lars

Link to comment
Share on other sites

I guess I am just to stupid to find it ..... ! Where will this option become available? Do I need to activate a module first?

What do I need to do in order to have names set automatically for pages below a defined parent? For the parent template, I have only selected one template that is allowed as a child, but cannot find the name format for children option.

Thanks 

Lars

Link to comment
Share on other sites

On the 2.4 dev branch:

1. Edit template

2. Go to family tab

3. Choose single (1) template as Allowed template(s) for children

4. New section becomes visibly on the same Family tab, called "Name format for children"


No modules needed.

Edited by Pete
Clarifying it requires PW 2.4 dev
  • Like 2
Link to comment
Share on other sites

You are using ProcessWire 2.4.0 (probably the master version) and you need the latest dev version (2.4.7+ or something). If you don't want to use a dev (which is not a stable version) you'll have to wait until 2.5 is released.

You can easily switch branches with git on the command line:

git checkout dev

Or download the dev version and replace the /wire/, index.php and htaccess.txt -> .htaccess files.

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