Jump to content

Template 'Name format for children' expansion


SiNNuT
 Share

Recommended Posts

Currently the 'Name format for children' setting is limited to:

  • alphanumeric: 'test', will turn into 'test', 'test-2', 'test-3' etc.
  • title: name will be based on the title once filled in (at first it will make the name 'unpublished', 'unpublished-2' etc.)
  • date: the addition of any non alphanumeric character (including space) will cause it to be interpreted as date. So entering 'test more' will lead to some date string that doesn't make sense

2015-05-17%2019_47_54.png

If possible i would like this to be made more fool-proof. But ideally i would like the 'Name format for children' to have more options. Like combining the different options and maybe be able to choose from more fields, apart from title.

I also think that in cases where you want to auto-populate the name you often don't really care about the page title as well. So it would be cool if one could auto-populate a page title (and maybe other possible global required fields) as well. If the format would allow for date/timestamp, fieldvalues, text and combinations of those it would be really powerful. Also probably a lot of work but it's a wish-list after all :)

  • Like 5
Link to comment
Share on other sites

I do not think it is possible to generate name based on any other custom field but the title as no field is populated or even connected to the page at that moment. But the id, created by, created should be availiable. And being able to define some kind of pattern using those will be great. So we can get something like:

  • item-123 (where 123 is id)
  • post-2015-05-17 (where 2015-05-17 is date) and post-2015-05-17-2 for sequential ones.
Link to comment
Share on other sites

If you have pages setup for the 1 step page creation and you have title set as format, at first it will make the name 'unpublished', 'unpublished-2' etc. It updates when you fill the title and save the page.

The same route could be taken for other fields than title.

I must admit that i don't use the format option a lot, i don't know about the general PW public.

  • Like 1
Link to comment
Share on other sites

  • 11 months later...

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