Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add Support for XML Importer
Run the Reflection field on Post Create / Edit within the XML Importer by registering for the delegate.

For those seeking to use this functionality it is of utmost importance that in the XML Importer you create a 'dummy' entry such as `concat("","")`to create the initial row in the database. Reflection field only does an update on the field, thus if no entry is found in the DB this will remain blank.
  • Loading branch information
jonmifsud committed Jan 12, 2015
1 parent f74287e commit e10c7d4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions extension.driver.php
Expand Up @@ -56,6 +56,16 @@ public function getSubscribedDelegates() {
'delegate' => 'EntryPostEdit',
'callback' => 'compileBackendFields'
),
array(
'page' => '/xmlimporter/importers/run/',
'delegate' => 'XMLImporterEntryPostCreate',
'callback' => 'compileBackendFields'
),
array(
'page' => '/xmlimporter/importers/run/',
'delegate' => 'XMLImporterEntryPostEdit',
'callback' => 'compileBackendFields'
),
array(
'page' => '/frontend/',
'delegate' => 'EventPostSaveFilter',
Expand Down

0 comments on commit e10c7d4

Please sign in to comment.