分类页面插件

分类页面插件

更改分类页面以满足您的需求(一种选项)…

功能说明: 完全更改此页面的设计。(显示本周最佳作者和热门话题)

https://github.com/Toxuru/discourse-category-home

语言:英语、俄语

分类中的附加字段:

  • categorimg - 分类页面上使用的第二张图片
  • categordiscr - 分类的简短描述

自定义

desktop category page style - 分类与最新话题

这是一个相当非标准的插件,需要一些预备操作。您必须填写将在该布局中使用的分类中的附加字段。

过一段时间后,我将尝试简化实现方式,使其无需此类操作即可使用。也许这段代码会有所帮助。

不适用于移动版本!

安装 Discourse 插件 - Install plugins on a self-hosted site

21 个赞

Does this really need to be a plugin? Shouldn’t it be a theme component cc @sam @johani?

6 个赞

Smooth and comfortable. Thank you for sharing, it is much appreciated!

1 个赞

Most of the changes can be done in a theme component. The biggest blocker is the excerpts. Those still require a plugin.

8 个赞

The plan is to allow you to opt for excerpts somehow as a theme component.

8 个赞

hi, any chance this becomes a theme in near future? i.e. the possible blocks minus the excerpts.

2 个赞

I will try to make this plugin a theme soon.

6 个赞

这个插件有没有被做成主题?

1 个赞

有什么进展吗?看起来最新的 Discourse 版本并没有带来任何变化:confused:

很遗憾,我将无法继续开发此插件。这主要是因为我居住地的限制,缺乏开发环境,且我的笔记本电脑性能较弱,仅能处理 CSS 和 PHP 脚本。

您可以克隆该仓库,或尝试优化此方案,使其更简便。我相信这是可以做到的。

5 个赞