Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
themes-topic
Default theme - Group view - truncating long topic titles
Avatar
Conrad_Farlow
Sheffield, UK
Member
Free Members
Offline
Jan 7, 2012 - 10:47 pm

Is there anyway that you can limit the length (number of words) of the link displayed by spInRowLastPostLink so that the spGroupForumSection does not exceed a fixed height? For instance instead of displaying the last post topic as 'A test post to see how the group view handles a very long topic title' it could display 'A test post to see...' Maybe I can limit the number of characters available to a member when entering a topic title? Probably be easier!

This V5.0 forum is so flexible it will take you guys an age to document it all!

Last query from me, I've stayed up all night again!

Conrad

Avatar
Yellow Swordfish
Glinton, England
SP Master
Offline
Jan 8, 2012 - 6:04 am

Yes - I am worried about the documentation. We are way behind on that one.

Now this is an interesting one. Normally I would suggest using the filters that we supply that allow you to take any displayed value and further manipulate it prior to the final display. These filters are available on every template function.

But I would also say that I can see this might be something that crops up often and am wondering whether we should build in a little support for it in the function parameters.... I will need to discuss this with Steve and Brandon and I couldn't promise getting it in place quickly but give us a day to talk it over.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Conrad_Farlow
Sheffield, UK
Member
Free Members
Offline
Jan 8, 2012 - 10:24 am

Thanks Andy but bear in mind that a title has to be pretty huge before this becomes an issue. I'd say limiting the number of characters in a title is the way to go. It can be a pretty large number I should expect. Perhaps search for your longest title in the history of this forum and see if that would cause the effects that I'm taking about.

Of course the 'blah blah......' covers every eventuality.

Conrad

Avatar
Yellow Swordfish
Glinton, England
SP Master
Offline
Jan 8, 2012 - 11:01 am

The biggest problem comes down to the use of proportional fonts. You can only do this sort of thing by truncating to a specified number of characters - not by how many pixels it takes up on the display. So - a topic title with lots of w's is going to always be a lot longer than a title with lots of i's

andy-signature.png
YELLOW
SWORDFISH
Avatar
Crunchii
Member
Free Members
Offline
Feb 5, 2012 - 10:53 am

Hi Andy

Im getting truncating views on this link http://dindepression.dk/behand…..ykkepiller

Where do I change it so URLs do not get truncated?

Kind regards

Philip

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
Offline
Feb 5, 2012 - 11:00 am

forum - options - content settings...

might be worth looking at the options and components settings to see what is available... each template tag also has numerous options though we are just starting to populate our new codex with that info...

Avatar
Crunchii
Member
Free Members
Offline
Feb 5, 2012 - 11:04 am

Hi sorry ive been in that setting 50+ times and never seen it before.. 🙂
Thank you for the help

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
Offline
Feb 5, 2012 - 11:23 am

no worries. glad to help.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625