[TYPO3-core] RFC #16426 Bugfix: Link field for images is too short to provide links for every image

JoH asenau info at cybercraft.de
Thu Jan 6 16:11:10 CET 2011


This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=16426

Branches:
trunk

Problem:
The field should be an textarea like it is for "alt" and "title" text.
Long and anoying discussion on the german newsgroup
http://lists.typo3.org/pipermail/typo3-german/2010-November/073503.html

Additional Problem:
The comma, which is currently used as a separator for multiple links, 
can be a legal part of a URL as well, so a single URL will be split as 
soon as it contains a comma, resulting in at least 2 broken URLs.

Solution:
Atached patch will
+ Change the DB field type to text
+ Change the form field to textarea
+ Adjust the link browser JS functions so that inside textareas new URLs 
will be inserted as a new line instead of replacing the first line
+ modify CSS-styled-content so that 10 will be used as a splitChar for 
listNum

ToDo:
Either provide an update wizard in the install tool that changes comma 
to new line in existing installations
or (in case we don't consider the comma problem to be a bug that should 
be fixed in older versions as well)
change the TS so that it will use 10 as a splitChar as soon as there is 
at least one new line in the value of the textarea.

Cheers

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 16426.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110106/5de714bd/attachment.asc>


More information about the TYPO3-team-core mailing list