Jump to content

Truncate topic open by an article in Pages


Recommended Posts

@Amy Pond In the template topicRow find:

<h4 class='ipsDataItem_title ipsContained_container'>

And change it to:


<h4 class='ipsDataItem_title ipsContained_container ipsTruncate ipsTruncate_line'>

That should automatically truncate the title without having to specify the number of characters.

I use this in a number of places on my site to stop lines from overflowing (see example hereย https://moviebuffs.org/forums/forum/45-superheroes/ย the first item is a very long title)

I also use it on the front page for the Our Picks carousel here >ย https://moviebuffs.org/

Let me know it if works for you ๐Ÿ™‚

ย 

Link to comment
Share on other sites

8 hours ago, Amy Pond said:

Hello! I set to open a new topic on a specific forum when I add an article; is it possible to truncate the topic after a certain number of characters?ย 

Thank you ๐Ÿ™‚ย 

I don't think so. But you may be able to use the "Quote" functionality so that it auto-hides the data but it will still be expandable.

Link to comment
Share on other sites

Ah, my bad there.ย  I thought you meant the topic title, but it's the topic content itself you want truncated.ย  You won't be able to do this if you only want specific topic content truncated, as it's all or nothing, in that it will be all topics that will be affected.ย  You would need aย plugin that could isolate which forums would be affected, and that will cost you as I don't think there is anything in the marketplace.ย  Apologies for misreading what you wanted ๐Ÿ™‚

ย 

ย 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
ร—
ร—
  • Create New...