Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

NodeBB

  1. Home
  2. Technical Support
  3. Modifying Topic Teaser Display

Modifying Topic Teaser Display

Scheduled Pinned Locked Moved Technical Support
2 Posts 2 Posters 2 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    Guest
    wrote last edited by
    #1

    Hello,

    I am currently running NodeBB (version 4.4.1, Harmony theme).

    Снимок экрана 2025-05-28 181745.png

    On topic listing pages, such as "Top" and "Popular," I've observed that an excerpt of the last message in the topic is displayed next to the topic information. (I've attached a screenshot for clarity).

    I have two questions regarding this:

    How can I change the displayed teaser from the last message to the FIRST (starting) message of the topic?
    I would like the excerpt to show the content of the topic's original post (i.e., the topic author's first message) instead of the latest reply. Is this feasible to implement, and if so, what is the recommended approach?

    Is it possible, without writing a custom plugin, to display a message teaser (either the first or last post, depending on the answer to question 1) directly underneath the topic title on the desktop version, similar to how it's done in the mobile version?
    In the theme settings, I see an option "Show topic teasers on mobile devices," and they are indeed displayed below the topic title there. I'd like to have similar functionality for the desktop version, with teasers appearing directly below the topic title in the list. Is there a built-in way to enable this for desktop, or would it require template modifications?

    baris@community.nodebb.orgB 1 Reply Last reply
    0
    • ? Guest

      Hello,

      I am currently running NodeBB (version 4.4.1, Harmony theme).

      Снимок экрана 2025-05-28 181745.png

      On topic listing pages, such as "Top" and "Popular," I've observed that an excerpt of the last message in the topic is displayed next to the topic information. (I've attached a screenshot for clarity).

      I have two questions regarding this:

      How can I change the displayed teaser from the last message to the FIRST (starting) message of the topic?
      I would like the excerpt to show the content of the topic's original post (i.e., the topic author's first message) instead of the latest reply. Is this feasible to implement, and if so, what is the recommended approach?

      Is it possible, without writing a custom plugin, to display a message teaser (either the first or last post, depending on the answer to question 1) directly underneath the topic title on the desktop version, similar to how it's done in the mobile version?
      In the theme settings, I see an option "Show topic teasers on mobile devices," and they are indeed displayed below the topic title there. I'd like to have similar functionality for the desktop version, with teasers appearing directly below the topic title in the list. Is there a built-in way to enable this for desktop, or would it require template modifications?

      baris@community.nodebb.orgB This user is from outside of this forum
      baris@community.nodebb.orgB This user is from outside of this forum
      [email protected]
      wrote last edited by
      #2

      You can change what is displayed at /admin/settings/post.

      image.png.

      There is no builtin setting to change the teaser location, you would have to make some changes to the template. For example we modified the harmony theme for a client of ours, you can see how it looks here https://mombrain.com/

      1 Reply Last reply
      1
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Login or register to search.
      Powered by NodeBB Contributors
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups