[TYPO3-core] RFC #14276: tceforms: Title of a record does not use API call to limit the characters
Benjamin Mack
benni at typo3.org
Sat May 1 22:59:42 CEST 2010
Hey,
this is a SVN patch request
Type: bugfix
Branches: 4.2, 4.3, trunk
Severity: low, simple (visuals only)
BT reference: http://bugs.typo3.org/view.php?id=14276
Problem:
If you set the max title length in the user setup to "10" or to "100",
the title of the record in alt_doc.php / tceforms does not respect that
but uses hardcoded length of the record title of 40. This is extremely
unhandy if you have longer record titles.
Solution:
Use the API method for this use. Nice side-effect: Also makes the code
easier to read.
How to reproduce:
- Module "User setup" => "Startup" => "Max title length" 10
- Web module => Edit any page properties with a title longer than 10
characters
- the title (see the screenshot) will stay at 40 pixels
- apply the patch, and now you'll see that it respects the User
configuration
All the best,
Benni.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 14276_tceforms.patch
Type: text/x-patch
Size: 1097 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100501/507212ee/attachment.bin>
More information about the TYPO3-team-core
mailing list