Lars282 Posted August 4, 2014 Share Posted August 4, 2014 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 More sharing options...
apeisa Posted August 4, 2014 Share Posted August 4, 2014 It's in the core (latest dev). Link to comment Share on other sites More sharing options...
Lars282 Posted August 4, 2014 Author Share Posted August 4, 2014 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 More sharing options...
apeisa Posted August 4, 2014 Share Posted August 4, 2014 (edited) 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 August 5, 2014 by Pete Clarifying it requires PW 2.4 dev 2 Link to comment Share on other sites More sharing options...
Lars282 Posted August 4, 2014 Author Share Posted August 4, 2014 Can't seem to get this to show - could you have a look at the screenshot attached if you can see where I go wrong? Thanks Lars Link to comment Share on other sites More sharing options...
arjen Posted August 4, 2014 Share Posted August 4, 2014 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. 1 Link to comment Share on other sites More sharing options...
Lars282 Posted August 4, 2014 Author Share Posted August 4, 2014 Ops - didn't fully read apeisa's reply ... Thanks for your help Lars Link to comment Share on other sites More sharing options...
adrian Posted August 4, 2014 Share Posted August 4, 2014 Here is Ryan's initial post about the feature: https://processwire.com/talk/topic/3768-processwire-dev-branch/page-9#entry58107 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