Copying a topic to another category

General Discussion

Suggested Topics


  • 3 Votes
    10 Posts
    228 Views

    Thanks @baris ,

    i got it now, i was made mistake here

    {{{each topic.posters}}}

    it should be like this

    {{{each topics.posters}}}

    Thanks again you save me here.. 🙂

  • 0 Votes
    2 Posts
    371 Views
    _ _ __ __ _______ _ _ _____ _ _ _____ /\ | \ | | \ \ / / |__ __| | | | | |_ _| | \ | | / ____| / \ | \| | \ \_/ / | | | |__| | | | | \| | | | __ / /\ \ | . ` | \ / | | | __ | | | | . ` | | | |_ | / ____ \ | |\ | | | | | | | | | _| |_ | |\ | | |__| | /_/ \_\ |_| \_| |_| |_| |_| |_| |_____| |_| \_| \_____| _ _ _ _ (_) (_) | | | | _ ___ _ __ ___ ___ ___ _ | |__ | | ___ | | / __| | '_ \ / _ \ / __| / __| | | | '_ \ | | / _ \ | | \__ \ | |_) | | (_) | \__ \ \__ \ | | | |_) | | | | __/ |_| |___/ | .__/ \___/ |___/ |___/ |_| |_.__/ |_| \___| | | |_|

    But seriously, there's no easy or out-of-the-box way to do it that I know of.

  • 0 Votes
    2 Posts
    224 Views

    I think that function was removed, you might have some old code that is still calling it. What is your NodeBB version and the rest of the stack trace?

  • 0 Votes
    23 Posts
    6k Views

    @julian I have been struggling to replicate the error. But I would post it once I manage to replicate it.

  • 0 Votes
    4 Posts
    2k Views

    @Alankrit-Choudhary Fork the lavender theme, go to the highlighted line in this file

    And add {categories.posts.topic.title} inside whatever container, small, or h tags, or a P tag. Up to you I guess.

    But do note that updates to the official lavender theme will require you to do some work to get them on your forked theme.

    EDIT: If you want to make the title clickable, then you could do something like

    <a href="{categories.posts.topic.slug}">{categories.posts.topic.title}</a>

    Add small or span as neccessary...