szepeshazi
Joined: 15 Jun 2006 Posts: 3
|
Posted: 04 Sep 2006 - 4:07 pm Post subject:
Forced Integer range (10-1000) in Kickstarter?
Subject description: Forced Integer range (10-1000) in Kickstarter? |
|
|
Hi all,
I was wondering if anyone could tell me what is the reason for the forced Integer range (10-1000) in the Extension Kickstarter, when defining an Integer type database field?
I wanted to create an Integer field, that should be able to contain "int" values from 1 upwards, and I cannot do that unless I hack in into the kickstarter source. What's even more strange, that these values (10,1000) are hardwired into the code as magic numbers. Have a look (class.tx_kickstarter_section_fields.php, line 879):
"range" => Array (
"upper" => "1000",
"lower" => "10"
)
I'm surprised, because most of the source code of Typo3 (at least the parts I saw) is well organized, and pretty self-explanatory, but this I just don't get. Or did I miss something obvious?
Cheers,
András |
|