Jump to content

How to put a snippet of topic text into the topic list


Recommended Posts

I'm wanting to add a snippet (no more than 3 lines) of the text that appears in a topic into the topic list: See below for example:

This is a section of the topic list in a forum:

image.thumb.png.9a811696a75055cffe875fbc045187c8.png

 

Below is what is inside the topic:

image.thumb.png.9ab030b4458e31071025cec59d1f2fef.png

The orange arrow is pointing to the text I want to include in the topic list, but no more than 3 lines regardless of how much text is in the topic. Mock-up is below:

topic1.thumb.png.9d3736e54858c575f8685ed3efc78735.png

This is going to be a template edit, but what do I put into which template to get this effect, if indeed it is at all possible?

With thanks

Edited by Davyc
Link to comment
Share on other sites

It does, but (there's always a but) it kills my topic images and reverts to the default listing.

Expanded view (which is what I would like to see):

image.png.3978869418bd3049fc02009c912a175a.png

 

But it kills the topic image which is what I would like to preserve:

image.png.eda36eb7580fdd8f72235564f406c035.png

So, what is viewed in the first image that can be transferred to the second image without killing the topic image would be fantastic.

 

Link to comment
Share on other sites

  • 8 months later...
On 8/5/2020 at 10:18 AM, bfarber said:

4.5 includes an "expanded" view so you can see the first few lines of text in the topic listing.

image.png

Is this what you are after?

How to apply this to pages block plugins for topics feeds to show this expanded mode? 

Edited by Afrodude
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...