Skip to content

ProcessWire Module: Fields of new pages inherit values of corresponding parents / closest parent.

Notifications You must be signed in to change notification settings

blynx/AdoptDefaultsFromParents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

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.

About

ProcessWire Module: Fields of new pages inherit values of corresponding parents / closest parent.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published