Log message #1032873

# At Username Text
# Sep 12th 2009, 09:38 Dimatter http://pastie.org/614635
# Sep 12th 2009, 09:38 savant and then bin the resulting arrays
# Sep 12th 2009, 09:38 savant Dimatter: can you do debug($category) before AND after that statement?
# Sep 12th 2009, 09:37 Dimatter why can't i add a new value to the array at line 16 http://pastie.org/614623 ???
# Sep 12th 2009, 09:37 Dimatter i did
# Sep 12th 2009, 09:36 savant Dimatter: if you have a question, it'd be best to ask it :)
# Sep 12th 2009, 09:34 savant lots of people
# Sep 12th 2009, 09:32 Dimatter anyone alive ?
# Sep 12th 2009, 09:29 Dimatter why can't i add a new value to the array at line 16 http://pastie.org/614623 ???
# Sep 12th 2009, 08:06 ADmad you should read the manual more often
# Sep 12th 2009, 08:06 ADmad ~tell charnel about book auth user
# Sep 12th 2009, 08:05 ADmad there's no need to do that in the first place... the info is already there is session, so just use session helper in view/layout
# Sep 12th 2009, 08:04 charnel ADmad : http://bin.cakephp.org/view/1759520629 here is the before filter of AppController
# Sep 12th 2009, 08:03 ADmad same way you do for a view
# Sep 12th 2009, 08:02 charnel how can I set a variable for the default.ctp?
# Sep 12th 2009, 08:01 ADmad the latter
# Sep 12th 2009, 07:59 charnel is it impossible or am I doing something wrong
# Sep 12th 2009, 07:58 charnel I am setting a variable in app_controller.php but cannot access it in my page layout default.ctp
# Sep 12th 2009, 07:35 Ceeram i was told updateAll isnt used that often, but i couldnt live without it, am i doing something wrong
# Sep 12th 2009, 07:33 Ceeram i'll keep it in mind when i get to it
# Sep 12th 2009, 07:33 Ceeram but it would be possible the ofcourse to set modified in fields array and set it manually
# Sep 12th 2009, 07:27 Ceeram or are there heavy arguments against it?
# Sep 12th 2009, 07:27 Ceeram will put modified with updateAll on my personal roadmap then :)
# Sep 12th 2009, 07:26 center_de was confused
# Sep 12th 2009, 07:26 center_de then everything is fine
# Sep 12th 2009, 07:26 center_de sorry, got that wrong
# Sep 12th 2009, 07:26 ADmad already told you updateAll doesnt update value for 'modified'
# Sep 12th 2009, 07:25 center_de but on updateall nothing changes
# Sep 12th 2009, 07:25 ADmad so whats the problem ? 'modified' shouldnt be NULL in the first place... cake would have set proper value for it when creating/updating record with "save"
# Sep 12th 2009, 07:25 center_de btw: creates works... it also puts the date into modified during creation
# Sep 12th 2009, 07:24 center_de hm.. it is
# Sep 12th 2009, 07:23 ADmad you need "default null" for the automagic to work for save
# Sep 12th 2009, 07:22 Ceeram NOT NULL
# Sep 12th 2009, 07:22 Ceeram hmm updateAll doesnt? not using it now but will be needing that soon
# Sep 12th 2009, 07:21 center_de how can i get rid of this..
# Sep 12th 2009, 07:21 center_de oh no.. i put NULL as standart value
# Sep 12th 2009, 07:20 ADmad its doesnt
# Sep 12th 2009, 07:17 center_de wouldn make much sense...
# Sep 12th 2009, 07:17 center_de is it possible that updateAll does not effect "modified" field?
# Sep 12th 2009, 07:12 ADmad ~tell charnel about book pages controller
# Sep 12th 2009, 07:09 charnel shall I create a controller for static pages ?