Help: First Theme (Bringing Back The Blocks)

Moved Technical Support
  • Hi, thanks for looking.

    I currently use a modified version on Lavender but the only reason I do that is because I didn't want this:

    and much prefer the category and subcategory blocks from Lavender:

    Realistically, it might make more sense for me to have a theme that inherits from Persona and just does different rendering of the categories.

    Are categories/subcategories from the same template partial?
    Where am I looking for this file?
    Is there anything special in Lavender for the masonry on those blocks that persona won't have?

    Thanks ❤

  • @drew This is exactly what I've been wanting, I've been using the material theme. Actually the dev is mia this week, usually pretty good, there are a few bugs with 0.8., that I can't get around and so I'm looking into other theme's again today trying to figure out what direction to go again.

    But you hit the nail on the head that's exactly where i've been trying to get to, please let me know if you find or come up with anything.

  • @drew Yeah, some quick differences I noticed when looking through the files:

    • Lavender defines the blocks themselves in templates/categories.tpl, whereas Persona uses a partial in partials/categories/item.tpl -- most likely just organisational in nature, but you'll have to actually update the partial, not categories.tpl, assuming your fork is using Persona as the base theme.
    • We use the Masonry library to arrange the blocks properly 😄
  • @julian Thanks for looking. I'll be giving it a go tomorrow I think. Obv will make it a public theme.

  • Cool @drew look forward to it, let me know if I can be of any help.

Suggested Topics

  • Nodebb Theme quickstart

    Moved Technical Support
    0 Votes
    12 Posts

    @mkarmocha that special route is to be set within the "ACP -> General -> Home Page"; It's categories by default.

  • 0 Votes
    7 Posts

    Well idk how but it works: what's the case??? Did I break it or what?

  • SPA style theme?

    Moved Technical Support
    0 Votes
    5 Posts

    This would explain my confusion.

    Good. Less work for me.

  • Need HELP!!!

    Technical Support
    0 Votes
    2 Posts

    You've not actually explained your issue. Please provide more detail.

  • 0 Votes
    1 Posts

    Hello NodeBB users. Since I've chosen NodeBB to replace my current free hosted and created forum I need to create the custom theme that will go with it.
    Since it's a graphic community we have some features needed and that's why I've taken a look at plugins and the API to see if NodeBB is ready to answer our problematic. Mostly it's the case and the modular aspect is very appreciable.

    So first question, how to do a child theme ? I've the quickstart theme and it seems that only importing the less of another theme do the job. (Vanilla in that case). But for instance if I want to use Lavander that is a lot more developed is that the same way ?
    Isn't that a bit ugly cause I assume it will be CSS replacement over imported CSS with new one too.
    Is there a best way to do it ?

    Is a theme capable of interacting on templates and add features to the control panel like a plugin. For instance I absolutely need the sub category feature, because my forum today use a structure like :

    Category Forum Sub forum Sub forum Archives (occasional)

    So there's at least 3 levels needed and I'll need to figure out if there's a way to do so since it doesn't seem implemented in the actual NodeBB version.

    Is it possible to add a new navigation, I think it's possible with a widget it doesn't seem like there's an existing one I might take a look on this.

    I think this is not theme related so I'll stop here but these are the direct questions I have.
    Also I doesn't seems that this forum have a support category, I think it could be nice to add one in order to filter actual themes from requests/question ect... (same for plugins).