Jump to main content Jump to doc navigation

Name: Forward Exclude Fields on Merge
Type: Textfield
Default: type,published,class_key
Available In: Revolution 2.0.8+

A Symlink merges non-empty field values over the values in the target Resource; using this comma-delimited list of excludes prevents specified fields from being overridden by the Symlink.

It can also be overridden f.e. by calling sendForward() method, check appropriate link below for more detail.

$options = array(
	'merge' => 1, // field gluing mechanism enabled
	// original fields list that need to be excluded from the result
	'forward_merge_excludes' => 'id,template,type,published,class_key'
);
$modx->sendForward(15, $options);

See also

Support the team building MODX with a monthly donation.

The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.

Backers

  • modmore
  • STERC
  • Jens Wittmann – Gestaltung & Entwicklung
  • Digital Penguin
  • Fabian Christen
  • Dannevang Digital
  • Sepia River Studios
  • CrewMark
  • Chris Fickling
  • deJaya
  • eydolan
  • Following Sea
  • Anton Tarasov
  • Murray Wood
  • Lefthandmedia
  • Raffy
  • Stéphane Jäggi
  • Snow Creative
  • Nick Clark
  • Helen
  • JT Skaggs
  • A. Moreno
  • YJ
  • krisznet
  • Richard
  • Yanni

Budget

$348 per month—let's make that $500!

Learn more