tributemedia/tm_directory
最新稳定版本:v1.1.0
Composer 安装命令:
composer require tributemedia/tm_directory
包简介
Provides Directory Entry content type and related configuration. Directory Entries are used to add new people to your directory. A new Directory Entry will be automatically added to your directory page and sorted based on your site's configuration.
README 文档
README
Provides Directory Entry content type and related configuration. Directory Entries are used to add new people to your directory. A new Directory Entry will be automatically added to your directory page and sorted based on your site's configuration.
Installation
$ composer require tributemedia/tm_directory: ^1.0
Configuration
For standard configuration (no email functionality), you will need to remove the "Email Me" block from the Right Sidebar region.
For advanced option, you'll need to include the "Email Me" functionality by doing the following.
- Edit the Directory Listing Page display in the Directory view.
- Select the Name field.
- Uncheck "Link to the Content"
- Enable "Output this field as a custom link" under "Rewrite results"
- Select the Picture field.
- Select "Nothing" in the "Link image to" drop down.
- Enable "Override the output of this field with custom text" under "Rewrite results"
- Select the Custom text field.
- In the text field, remove the twig comment characters around the {{ view_node }} and {{ view_node_1 }} lines.
- Edit Directory Entry content type. Select the manage fields tab.
- Edit the Email field and check the "Required" box to require an email address entry.
统计信息
- 总下载量: 223
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: AGPL-3.0-or-later
- 更新时间: 2022-11-14