Skip to content

Conversation

@kixe
Copy link

@kixe kixe commented Dec 17, 2014

Just have a look in the last commit and in this post in PW-Forum about this issue
https://processwire.com/talk/topic/8551-custom-urls-for-pages/?p=82742

Name Format Children doesn't work as expected (described)
find here more options, less code

If a page is autogenerated name should always derived from title, same like creating page manually in admin.

new features:
allows 3 types of format for name and title, which could be combined in endless variations

  • type date: if function detects # character anywhere in the string conversion: delete #, date($format)
  • type field: if string is a fieldname of the parent page conversion: value of this field
  • type string: if string doesn't fit to the 2 preceeding it will be taken as it is
  • all parts (separated by comma) will be composed in the order of setting

description for the field in module /process/ProcessTemplate.module should be change and also http://processwire.com/api/modules/process-template/

kixe added 8 commits October 14, 2014 10:23
Made a Module which adds license and license link to the Modules Info.
http://modules.proce...module-license/
but its much cleaner to put it in core
https://processwire.com/talk/topic/5906-display-module-license-in-modules-directory/?p=76308
block-elements not allowed as child of <p>
'collapsed' is wrapped in 'visibility' use visibility to remove
Issue
doesn't work as expected
extend with featuresName Format Children produces unexpected results
@kixe kixe changed the title Dev Name Format Children Dec 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant