Page 414 of 211,273, showing 20 records out of 4,225,455 total, starting on record 8,261, ending on 8,280
# | Username | Text | |
---|---|---|---|
# | Aug 10th 2008, 04:12 | NetersLandreau | dude, i don't look at how messy the house is.. ;) |
# | Aug 10th 2008, 04:13 | pgcd | Neters: thank you =) http://bin.cakephp.org/view/2133710879 |
# | Aug 10th 2008, 04:14 | NetersLandreau | pgcd: what is $extendedform? |
# | Aug 10th 2008, 04:15 | pgcd | Neters: a basic form with defaults for datetime fields, ATM |
# | Aug 10th 2008, 04:15 | pgcd | only overrides $form->input() |
# | Aug 10th 2008, 04:16 | pgcd | in the future, I'll use it to add stuff like a calendar icon etc |
# | Aug 10th 2008, 04:17 | pgcd | (icon + applet, i mean) |
# | Aug 10th 2008, 04:17 | NetersLandreau | hmm.. i think your problem probably sits in that code.. have you tried just using the cakephp default form helper? |
# | Aug 10th 2008, 04:17 | darki | how can i use wildcards in findAllBy? --> $this->Booking->findAllByBooking_id('489*') does not work |
# | Aug 10th 2008, 04:17 | pgcd | darki: use % instead of * |
# | Aug 10th 2008, 04:17 | pgcd | (if it's a string |
# | Aug 10th 2008, 04:17 | pgcd | ) |
# | Aug 10th 2008, 04:17 | NetersLandreau | darki: findByModel has been deprecated.. use find instead, it is more powerful |
# | Aug 10th 2008, 04:18 | pgcd | I wouldn't know about wildcards with ints, tho |
# | Aug 10th 2008, 04:18 | darki | % does not work - ok i will try find |
# | Aug 10th 2008, 04:19 | NetersLandreau | pgcd: in the future, you should be able to use css to get your icons, etc |
# | Aug 10th 2008, 04:20 | darki | ($this->Booking->find('list', array('conditions' => array('booking_id' => '489*')))); gives me an empty array too - seems that * does not work :( |
# | Aug 10th 2008, 04:21 | NetersLandreau | darki: it would be find('all', array('conditions' => array('field' => 'data'))).. there is a new way of parsing the conditions and you're going to have to examine the API for the exact details on that |
# | Aug 10th 2008, 04:22 | Traveler0 | how do i set a model condition? |
# | Aug 10th 2008, 04:22 | Traveler0 | live active = 1 |