AdoptDefaultsFromParents by blynx

Fills fields of newly added pages with corresponding field-values of their parents. Configurable by setting "giving templates" and "adopting fields".

AdoptDefaultsFromParents

Automatically fills fields of new pages with corresponding values of their parents.

Installation


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/

How to use


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 for Processwire 3


Namespace is commented out for now, since I use this module in a 2.7 installation. Feel free to uncomment the namespace declaration.

Install and use modules at your own risk. Always have a site and database backup before installing new modules.

Latest news

  • ProcessWire Weekly #519
    In the 519th issue of ProcessWire Weekly we'll check out a new third party module called RockForms, introduce the latest ProcessWire core updates, and more. Read on!
    Weekly.pw / 20 April 2024
  • ProFields Table Field with Actions support
    This week we have some updates for the ProFields table field (FieldtypeTable). These updates are primarily focused on adding new tools for the editor to facilitate input and management of content in a table field.
    Blog / 12 April 2024
  • Subscribe to weekly ProcessWire news

“The end client and designer love the ease at which they can update the website. Training beyond how to log in wasn’t even necessary since ProcessWire’s default interface is straightforward.” —Jonathan Lahijani