Category Page Plugin


(Evgeny) #1

Category Page Plugin

Change the category page to suit your needs (one option)…

What it does: completely changes the design on this page. (shows the best authors and topics of the week)

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

Languages: English, Russian

Additional fields in category:

  • categorimg - the second image used on the category page
  • categordiscr - short description of the category

toxu-cat-2

2

Customization

desktop category page style - Categories and Latest Topics

This is a rather non-standard plugin that requires some preliminary actions. You must fill in additional fields in the categories that will be used in this layout.

After a while, I will try to simplify the implementation, which can be used without such actions. Perhaps this code will be useful.

Not for the mobile version!

To install Discourse Plugin - Install Plugins in Discourse


(Jeff Atwood) #4

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


#5

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


(Joe) #6

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


(Sam Saffron) #7

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


(Pad Pors) #8

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


(Evgeny) #9

I will try to make this plugin a theme soon.