相等/iq_博客

该包最新版本(3.0.8)没有可用的许可证信息。

相等博客基础模块。

安装数: 3,552

依赖项: 0

建议者: 0

安全: 0

星标: 0

关注者: 2

分支: 3

开放问题: 2

类型:drupal自定义模块

3.0.8 2024-08-20 09:50 UTC

README

相等博客基础模块。

包含

  • 博客文章内容类型与节点模板
  • 具有模式的视图
  • 博客作者角色与权限

子模块

  • iq_blog_scheduling
    为博客文章设置基本配置的调度选项。基于 iqual-ch/iqual-schedule-cron 包。

  • iq_blog_comments
    评论模块集成,包括基本评论类型(iq_blog_post_comment)和回答类型(iq_blog_post_comment_answer)。

  • iq_blog_like_dislike
    集成“喜欢/不喜欢”按钮(来自 https://www.drupal.org/project/like_dislike)。额外的 FieldFormatter 插件仅显示“喜欢”按钮,没有“不喜欢”功能。此模块自动将 iq_like_dislike 字段安装到 iq_blog_post 内容类型。

  • iq_blog_like_dislike_comment
    此模块自动将 iq_like_dislike 字段安装到 iq_blog_post_comment 评论类型。

  • iq_blog_like_dislike_comment_answer
    此模块自动将 iq_blog_post_comment_answer 字段安装到 iq_blog_post_comment 评论类型。

安装

按常规安装模块

composer require iqual/iq_blog
drush en iq_blog

(可选)安装子模块

drush en iq_blog_scheduling

drush en iq_blog_comment

drush en iq_blog_like_dislike
drush en iq_blog_like_dislike_comment
drush en iq_blog_like_dislike_comment_answer

为ajax视图添加补丁。

composer patch-add drupal/ui_patterns "Support AJAX Views / Fix live preview detection" "https://patch-diff.githubusercontent.com/raw/nuvoleweb/ui_patterns/pull/269.diff"

重建CSS

drush iq_barrio_helper:sass-compile

按照实体浏览器安装说明操作: https://github.com/iqual-ch/iq_entity_browsers/blob/8.x-1.x/README.md#iq_entity_browsers(跳过“使用composer安装模块”步骤)

配置

将 iq_blog_author 角色添加到所需用户。

如果需要:将博客文章作为可筛选的内容类型添加到内容视图中