Skip to content

Version 1.3

Choose a tag to compare

@Ronef Ronef released this 27 Feb 17:30
· 55 commits to master since this release
  • * Attention! (MODX)Evolution.libraries.ddTools >= 0.42 is required.
  • * Parameters: The following parameters were moved from Snippet to Provider (with backward compatibility):
    • * filter → providerParams->filter.
    • * offset → providerParams->offset.
    • * total → providerParams->total.
  • * Outputters → Yandexmarket:
    • * Fixed smart name and price preparation.
    • * Parameters: Structure was changed, added an additional nesting level for shopData, offerFields and templates (with backward compatibility).
    • + Added the ability to disable escaping special characters (', ", &, <, >) in the field value (see outputterParams->offerFields->{$fieldName}->disableEscaping).
    • + Also you can set a custom string that will be added before or after the field value (see outputterParams->offerFields->{$fieldName}->valuePrefix and outputterParams->offerFields->{$fieldName}->valueSuffix).
  • + Added the ability to run snippet without DB requests and PHP eval:
     \DDTools\Snippet::runSnippet([
     	'name' => 'ddGetDocuments',
     	'params' => $params
     ]);
  • + README:
    • + Parameters description → Extenders parameters → extendersParams->{$extenderName}.
    • + Links → Packagist.