metamodels / attribute_levensthein
2.1.4
2022-11-27 18:33 UTC
Requires
- php: ^7.1
- contao-community-alliance/dc-general: ^2.1.0
- contao/core-bundle: ^4.4.8
- metamodels/core: ^2.1
- symfony/dependency-injection: ^3.3 || ^4.1.12
- symfony/http-kernel: ^3.3 || ^4.4.13
Requires (Dev)
- dev-master / 2.1.x-dev
- 2.1.4
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.2
- 2.0.1
- 2.0.0
- dev-hotfix/abandoned_sth
- dev-hotfix_2.1/switch_to_github-actions
- dev-dependabot/add-v2-config-file
- dev-hotfix/fix_unittest_add_cover
- dev-hotfix/ignore_long_class_name
- dev-hotfix/fix_sql_query_issue_17
- dev-hotfix/wayback_composer_json_to_levensthein
- dev-support/2.0
This package is auto-updated.
Last update: 2022-11-27 18:56:35 UTC
README
Levensthein
仓库已更正名称为Levenshtein,现在可以在https://github.com/MetaModels/attribute_levenshtein找到。
Levensthein属性维护一个包含其他属性关键词的索引,可以使用levenshtein算法进行搜索。
注意: 这使用的是来自jquery-ui的自动完成插件。在安装此扩展时,您必须包含CDN上的jquery-ui,因为Contao捆绑版只包含accordion插件。
要这样做,只需在您的页面布局中添加并包含一个名为j_jquery-ui.html5
的模板,内容如下
<script src="//code.jqueryjs.cn/ui/<?= $GLOBALS['TL_ASSETS']['JQUERY_UI'] ?>/jquery-ui.min.js"></script>
警告: 如果您在页面上使用accordion,请确保从j_accordion.html5
中删除相应的行,否则这两个插件将冲突。