Logs for

Page 228 of 211,260, showing 20 records out of 4,225,198 total, starting on record 4,541, ending on 4,560

# At Username Text
# Aug 8th 2008, 04:09 anf6 Hi, I've upgraded my queries to use containable but I still see 24 queries (one for each table in the db) taking place starting with "SELECT DISTINCT column_name". Are these necessary?
# Aug 8th 2008, 04:10 anf6 my actual queries take 15ms and these other ones take 30ms each
# Aug 8th 2008, 04:11 pgcd alkemann: i've been toying a bit with an extended formhelper, but it seems that it happily ignores what i try to inject in $options (tried with "selected", "value" and "default")... any ideas what i'm doing wrong?
# Aug 8th 2008, 04:11 daschl stevieboy, rofl, not its not.. k then i have to write a workaround :D
# Aug 8th 2008, 04:13 Ins|de is it possible to create a link calling a javascript function with htmlhelper ?
# Aug 8th 2008, 04:14 alkemann pgcd: let me look at what im doing. and put ur view in a bin
# Aug 8th 2008, 04:16 pgcd alkemann: here i go
# Aug 8th 2008, 04:17 alkemann pgcd: here is my helper http://bin.cakephp.org/view/1900794134
# Aug 8th 2008, 04:17 pgcd alkemann: http://bin.cakephp.org/view/979843963
# Aug 8th 2008, 04:18 alkemann pgcd: its much eaier to do 4options = array_merge($this->defaults, $options);
# Aug 8th 2008, 04:19 pgcd alkemann: yep, didn't think of it - still, FormHelper::input doesn't care much for the $options i set...
# Aug 8th 2008, 04:30 np_ i need to make a custom admin route
# Aug 8th 2008, 04:30 fourcs I have two tables. One has 'has_many' attributes, the other has 'belongs_to' attributes. I can get radio type button in the 'belongs_to' table, but not in the 'has_many' table. Can anyone give me some ideas?
# Aug 8th 2008, 04:30 np_ tried somthing like $Route->connect('/en/:controller/:action/*', array('action' => 'en_'.$action));
# Aug 8th 2008, 04:30 np_ but didn't work
# Aug 8th 2008, 04:32 skua how could I switch from database configuration in controller ?
# Aug 8th 2008, 04:33 pgcd fourcs: does the controller action load and set the data for the has_many table?
# Aug 8th 2008, 04:33 fourcs I can get radio type buttons to work in the 'belongs_to' table.
# Aug 8th 2008, 04:35 pgcd fourcs: for a hasmany, i suppose a multi-select is more appropriate - still, i think you need to have the data for the other model and pass it in the options when calling $form->radio
# Aug 8th 2008, 04:36 fourcs http://bin.cakephp.org/view/1265649288 is the url for the 'has_many' table, which was generated by cakebake.