Project

General

Profile

Actions

Bug #15469

closed

Don't annoy users with an 30KB editing limit in Template Editor

Added by Johannes Vockeroth almost 19 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2006-01-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.8.1
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

-I just copied the template file from frontend_register extension and got this annoying message: "Filesize exceeded 30 Kbytes Files
larger than 30 KByes are not allowed to be edited" Why? Is there any serious reason? Somewhere else is a label: "Max file size: 1.0 M" Why can't I edit 1.0 M if I like to?

I wrote this little patch for typo3/TYPO3core/typo3/sysext/tstemplate_info/class.tx_tstemplateinfo.php (but I wrote it fo 3.8.1 - it shall work - the bug is still in todays CVS snapshot) The patch replaces the 4 hardcoded "30"'s with $TCA["sys_template"]["columns"]["resources"]["config"]["max_size"] - that are these 1.0 M by default.
(issue imported from #M2337)


Files

class.tx_tstemplateinfo.php.patch (2.18 KB) class.tx_tstemplateinfo.php.patch Administrator Admin, 2006-01-20 20:51
Actions

Also available in: Atom PDF