- + You can just call
\DDTools\Snippet::runSnippet
to run the snippet without DB and eval (see README → Examples). - + README → Installation → Using (MODX)EvolutionCMS.libraries.ddInstaller.
- + README_ru, CHANGELOG_ru.
- * Attention! (MODX)EvolutionCMS.libraries.ddTools >= 0.60 is required.
- * Attention! (MODX)EvolutionCMS.libraries.ddTools >= 0.40.1 is required (not tested in older versions).
- * Compatibility with new versions of (MODX)EvolutionCMS.libraries.ddTools.
- * README, CHANGELOG: Style changes.
- * README:
- - Home.
- + Links.
- * Composer.json →
require
→dd/evolutioncms-libraries-ddtools
:- * Renamed from
dd/modxevo-library-ddtools
. - * Version format fixed.
- * Renamed from
- + Empty items after parsing
result_itemTpl
will be ignored (you can calling third-party snippets in the template and set your own display conditions). - + Composer.json → Require.
- * Attention! (MODX)EvolutionCMS.libraries.ddTools >= 0.30 is required.
- * Fixed a bug where
result_itemsNumber
was always equal to'all'
. - * Refactoring and other changes.
- * Wrong variable name was fixed.
- + Added support of the
@CODE:
keyword prefix in thetpl
parameter. - + Added an ability to return several parents (see the
result_itemsNumber
andresult_itemsGlue
parameters). - * The following parameters have been renamed (with backward compatibility):
- *
tpl
→result_itemTpl
. - *
toPlaceholder
→result_toPlaceholder
. - *
placeholderName
→result_toPlaceholder_name
.
- *
- * The snippet result will be returned in anyway (empty string for empty result).
- * Attention! PHP >= 5.4 is required.
- * Attention! (MODX)EvolutionCMS >= 1.1 is required.
- * Attention! (MODX)EvolutionCMS.libraries.ddTools >= 0.20 is required.
- + Negative values can now be passed to the
level
parameter for setting parent level from the end (-1
— the last parent;-2
— the parent before the last; etc).
- * The id of a current document will be returned if it has no parent (root document).
- + The first release.