Download  |  Search  |  Log in  |  FAQ  |  Memberlist  |  Online  |  TYPO3.org Developer Resource
Home » Extensions » Development
Post new topic   Reply to topic Page 1 of 1 [1 Post] Forced Integer range (10-1000) in Kickstarter?
Author Message
szepeshazi



Joined: 15 Jun 2006
Posts: 3

PostPosted: 04 Sep 2006 - 4:07 pm    Post subject:  Forced Integer range (10-1000) in Kickstarter?
Subject description: Forced Integer range (10-1000) in Kickstarter?
Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Home » Extensions » Development
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum