brainsum/contextly

Contextly模块

安装: 13

依赖: 0

建议者: 0

安全性: 0

星标: 0

关注者: 5

分支: 0

类型:drupal-module

dev-master 2019-07-17 16:04 UTC

This package is auto-updated.

Last update: 2024-09-18 03:39:45 UTC


README

  • 简介
  • 要求
  • 安装
  • 配置
  • 维护者

简介

此Contextly模块将Drupal网站与Contextly集成。

contextly.com是出版商最强大的内容推荐系统。提供免费的21天试用期账户。

要求

此模块不需要Drupal核心之外的其他模块。

安装

像安装贡献的Drupal模块一样安装contextly模块。有关更多信息,请访问https://www.drupal.org/node/1897420

Drupal 8.x-2.x与composer:将以下代码添加到Drupal根目录的composer.json仓库部分

       {
            "type": "package",
            "package": {
                 "name": "contextly/contextly-kit",
                 "version": "0.1.0",
                 "type": "drupal-library",
                 "dist": {
                      "url": "https://assets.context.ly/archives/kit/contextly-kit-5.latest.tar.gz",
                      "type": "tar"
                 },
                 "autoload": {
                      "classmap": [
                              "server/",
                              "server/includes/",
                              "server/includes/assets/",
                              "server/includes/package/"
                      ]
                 }
            }
        }

运行composer命令:composer require brainsum/contextly

配置

1. Navigate to Administration > Extend and enable the Conextly module.
2. Navigate to Administration > Configuration > Content > Contextly.
3. Enter your Contextly api key.
4. Navigate to Structure > Block layout.
5. Place block to region where you need Contextly recommendation.
6. Select the properly widget on block settings form.
7. Save block.

维护者

8.x分支由