dodecastudio/craft-autosuggest 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

dodecastudio/craft-autosuggest

最新稳定版本:2.0.0

Composer 安装命令:

composer require dodecastudio/craft-autosuggest

包简介

A plain text field for Craft CMS that will suggest existing values from other entries saved in the same section.

README 文档

README

Buy us a tree

Requirements

  • Craft CMS 3.X, 4.X or 5.X
  • PHP 7.4+

Installation

Install the plugin as follows:

  1. Open your terminal and go to your Craft project:

    cd /path/to/project
    
  2. Then tell Composer to load the plugin:

    composer require dodecastudio/craft-autosuggest
    
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for AutoSuggest.

Overview

Once an Auto Suggest field has been created and added to a section within Craft, it will appear when editing the entry. If there are other entries in that section, typing in it will suggest existing values. This plugin uses Craft's built-in autosuggest component. When installed, it'll look a bit like this:

The list will by default show up to a maximum of 200 suggestions. Results are filtered to include the most frequently occuring.

Field settings

You can set some default suggestions for each Auto Suggest field. This will ensure some initial values are presented to CP users if there are not yeht any entries in a given section. It's also helpful for guiding users to enter specific values.

Plugin Settings

Default settings can be overridden. Please see the autosuggest-config.php file for details.

Licence 🌳

This package is Treeware. If you use it in production, then we ask that you buy the world a tree.
And why not? By contributing to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.

If you've purchased trees through Ecologi, as part of the Treeware license, please let us know for a shout-out.

统计信息

  • 总下载量: 167
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2022-05-16