About Adopt field values as defaults from parents
Fills fields of newly added pages with corresponding field-values of their parents. Configurable by setting "giving templates" and "adopting fields".
Modules that have a unique purpose not covered by existing categories.
Close to stable, but users are advised to be cautious and test thoroughly.*
|Date Added||May 3, 2016|
|Last Updated||May 11, 2016|
This module's files should be placed in /site/modules/AdoptDefaultsFromParents/
How to install or uninstall modules
Automatically fills fields of new pages with corresponding values of their parents.
Either install it manually:
- by moving the folder to your /site/modules directory
- going to the module-page in the processwire admin interface
- hitting the refresh button (the module will appear on top of the page)
- then clicking the install button next to it and follow further instructions
or automatically by one of the options listed here: http://modules.processwire.com/install-uninstall/
In the configuration of this module you have to set templates which are able to give field values and fields which are able to receive values. Then, this module automatically applies field values to every newly added page from their parents according to those settings.
Additionally you may switch between the immediate parent or the closest parent which has the wanted field.... Might be usefull, but I am not sure ...
Namespace is commented out for now, since I use this module in a 2.7 installation. Feel free to uncomment the namespace declaration.
No comments yet. Be the first to post!
Your e-mail is kept confidential and not included with your comment. Website is optional.
- Admin Helpers
- Core Modules
- Development Tools
- Field Types
- Input Fields
- Language Modules
- Language Packs
- Markup Generation
- Premium Modules
- Process Modules
- Proof of Concept
- Site Profiles
- Social, Feeds, Services
- Text Formatters
- Other Modules
- Users and Access
*Use modules at your own risk. There are no guarantees or warranties. It is recommended that you backup your site and database before installing new modules.