Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted February 21, 20214 yr 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 🙂Â
February 21, 20214 yr @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 🙂 Â
February 22, 20214 yr 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.
February 22, 20214 yr 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 🙂  Â
February 22, 20214 yr Author 2 hours ago, Davyc said: Apologies for misreading what you wanted 🙂 Don't worry! 😄 Thank you, I was hoping 😞Â