New NodeBB Theme Layout
-
Best way to create a new NodeBB theme grid layout? Can someone list items need to create nodebb layout like this?
Can it be accomplished using css? Will NodeBB files need to be modified? Which ones? Hopefully it is easy to make layout without need to use plugin.
Suggestions?
-
@meetdilip said in New NodeBB Theme Layout:
Is that a Discourse forum ?
I'm not sure. Is there a way to find out for sure?
-
@jarey said in New NodeBB Theme Layout:
@charles have you tried nodebb-theme-lavender? It just uses a grid layout as you showed.
Lavender is based on categories which has static front page correct? Looking for topics with thumbnail like the site I linked to.
-
@charles It doesn't matter that it's static, it does use the categories thumbnails. You could use mostly the same template on the topics page and change the
{category.*}
variables to{topic.*}
etc... You can set the box height/max-height with css to get a fixed grid layout. -
It can be done.
It cannot be accomplished using CSS alone, you need to modify the templates to get the structure right, and you might require an additional plugin to get the post content (description).
topic.title
topic.thumbnail
topic.content...not sure what the apis are now, but that looks like the right structure you need.
-
@pichalite said in New NodeBB Theme Layout:
@charles no doubt... that is a discourse forum.
This would mark the first time I've actually seen a discourse forum that doesn't have the traditional topics layout homepage.