HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


How to display more characters in a forum topic list?

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#87547 (In Topic #17838)
Avatar

Well-settled

I've noticed that all of my topic Titles are abbreviated when a forum area is listed.  Even when there is tons of space to show the full topic title.  Am I missing something in the settings somewhere?

For example, on thread with the title "HBR Blog Topic: "Are Your Employees Drivers or Victims of Process Innovations?"" what I see in the thread list is "HBR Blog Topic: "Are Your Employees Drivers or Victims of…"

Thanks
Back to the top
 
Posted
Rating:
#90121
Avatar

Well-settled

Can anyone let me know if this is possible with v9?  The titles of topics in my forums are still truncated despite there being LOTS of space that could be used to display the rest.

Maybe a CSS change or something?

Thanks
Back to the top
 
Posted
Item has a rating of 5 (Liked by Chris GrahamLiked by Jean)  
Rating:
#90122
Avatar

Community saint

Try editing OCF_FORUM_TOPIC_ROW.tpl, line 22 …
         <a href="{URL*}" title="{$ALTERNATOR_TRUNCATED,{TITLE},60,{!TOPIC_STARTED_DAT
E_TIME,{HOVER*;~}},,1}">{+START,FRACTIONAL_EDITABLE,{TITLE},t
itle,_SEARCH:topics:type=_edit_topic:id={ID}}{+START,IF,{UNRE
AD}}<span class="ocf_unread_topic_title">{+END}{$TRUNCATE_LEFT,{TITLE}
,60}{+START,IF,{UNREAD}}</span>{+END}{+END}</a>


… to see if one of the '60' idents changes the truncation if you increase that number.

I haven't tried this, so it would be good to know if it works - just in case I try to use it in future!

 :thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#90137
Avatar

Well-settled

Fletch,

Thank you VERY much.  Your suggestion worked like a charm.  I doubled both values to 120 so far not a single line is truncated.

Of course, I assumed those were character counts, and not percentages or something similar that shouldn't exceed 100.  :)

Thanks again, I appreciate the help a lot.
Back to the top
 
Posted
Rating:
#90174
Avatar

Community saint

:thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: