Closed (fixed)
Project:
Links Package
Version:
master
Component:
User interface
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
28 Nov 2004 at 21:22 UTC
Updated:
16 Feb 2006 at 15:30 UTC
Sometimes i`m posting long urls and when i`m using "show weblinks like url", my site stretchs and beats itself design.
So, will it be powerful to crop links if they are longer than 36 characters?
In such way for example:
http://www.somethingveryspec...
p.s.
why i`m not using "show weblinks by title or a word "visit""? My site almost on 95% consists of weblinks, and visitors has voted for "url" link instead of "title" link.
Thanks in advance.
Comments
Comment #1
arsart commentedok. If anybody is interesting with such feature we have done it (thanx to www.Drupal.RU user Basielienis)
Her it is/ You can change 83 line with this code (In "//Node links for a weblink"):
And your very-very long urls will be cropped and shows only 20 symbols with "..."
Like this:
http://somethingspec...
NB!
It`s a minority feature.
Only for those who chose "show weblinks as url" in weblink.module settings.
Because this feature will crop "show weblinks as a title" too!
Comment #2
Bèr Kessels commentedwe should add a themable function that handles this.
Comment #3
Bèr Kessels commentedComment #4
syscrusher commentedThe new Links Package for Drupal 4.7 already does this. :-)
Syscrusher
Comment #5
(not verified) commented