Way to selectively apply theme by category?
-
I've read the theming docs at:
https://docs.nodebb.org/en/latest/themes/create.htmlI'm curious if anybody knows of a way to apply a theme to a category. So for example, the general site would have one theme applied and a specific category would have a different theme.
-
Hi, you can view this behaviour at exo.do, theyre using nodebb as the forum engine and have come with a plugin doing exactly what you are describing but at post level.
The useris able to select pos ttheming when it creates it.
Also they've described the behaviour at this post: Who is using NodeBB? https://community.nodebb.org/topic/180/who-is-using-nodebb/235
-
Thanks for the tip!
-
@jongarrison you have another example on nodebb-plugin-custom-header. But in this case is managed by a plugin too. I don't know if it is possible to applu different theme (tpl). You could also managed it in the same tpl with a little bit of logic in it based in certain configuration server side.