Log message #110266

# At Username Text
# Aug 7th 2008, 17:38 _psychic_ ACTION gives ChipotleCoyote a medal
# Aug 7th 2008, 17:38 _psychic_ yessssss
# Aug 7th 2008, 17:33 ChipotleCoyote ACTION answers his idle question through idle research.
# Aug 7th 2008, 17:29 beatzombies teknoid: so i explicitly set another variable $checkValue true or false depending on the value of 'contributed' and it works. it seems kind of strange, but i guess ill take it
# Aug 7th 2008, 17:20 ChipotleCoyote Idle question: in database.php, is the 'schema' parameter for DATABASE_CONFIG used for anything?
# Aug 7th 2008, 17:16 beatzombies teknoid: I manually set the checked value to 1 and it worked, so i don't think that 's the problem
# Aug 7th 2008, 17:03 teknoid np ;)
# Aug 7th 2008, 17:03 defrex damnit! *teknoid
# Aug 7th 2008, 17:03 defrex *taknoid
# Aug 7th 2008, 17:03 defrex tekoid, thanks
# Aug 7th 2008, 17:02 teknoid defrex: well... not private, just protected
# Aug 7th 2008, 17:01 teknoid defrex: app controller, and make sure it's private/protected
# Aug 7th 2008, 17:00 teknoid beatzombies: although i think it's a hack, and there might be a better way
# Aug 7th 2008, 17:00 teknoid beatzombies: you should probably set the value to true/false
# Aug 7th 2008, 16:59 defrex what would be the best place to put a function that is available to all my controllers without being mapped to a specific view or page?
# Aug 7th 2008, 16:57 pgcd_away beatzombies: gotta sleep... good luck ==)
# Aug 7th 2008, 16:54 cudell could my view problem be because I hav emultiple cake apps runiing and dont have this one app set to use a subdomain?
# Aug 7th 2008, 16:53 pgcd_away tonkatruck: so you get some output, and you can use that output to debug() stuff, i'd expect
# Aug 7th 2008, 16:53 pgcd_away beatzombies: try with debug($value) on line 818
# Aug 7th 2008, 16:52 max2k2 (I can write the applet params with cake-php)
# Aug 7th 2008, 16:52 max2k2 how can I use that to send my auth session to cake from the applet?
# Aug 7th 2008, 16:52 max2k2 but the applet gives me the chance to send some cookie data
# Aug 7th 2008, 16:51 pgcd_away tonkatruck: i don't think so, as you will get a message from cake when you don't have a view
# Aug 7th 2008, 16:51 beatzombies pgcd_away: when i call debug it prints out line numbers in files
# Aug 7th 2008, 16:50 TonkaTruck pgcd_away: if debug() is called from the controller do you still need a view for that action?
# Aug 7th 2008, 16:50 max2k2 I have a little question for the gurues :)
# Aug 7th 2008, 16:50 pgcd_away beatzombies: as for the values, i can't really figure out - i don't know enough of the code
# Aug 7th 2008, 16:50 max2k2 hello bakers
# Aug 7th 2008, 16:48 pgcd_away debug() is like print_var or var_dump, only nicer
# Aug 7th 2008, 16:48 beatzombies pgcd_away: what does debug() do?
# Aug 7th 2008, 16:48 beatzombies pgcd_away: do you know what determines the values of the checkbox and corresponding hidden field
# Aug 7th 2008, 16:48 pgcd_away so, well, if i were you i'd just plunk a debug() there and try to see what's going on
# Aug 7th 2008, 16:47 pgcd_away that code is from formhelper, circa line 820
# Aug 7th 2008, 16:46 pgcd_away no, wait
# Aug 7th 2008, 16:46 beatzombies hmm that is strange
# Aug 7th 2008, 16:46 pgcd_away }
# Aug 7th 2008, 16:46 pgcd_away $options['value'] = $value;
# Aug 7th 2008, 16:46 pgcd_away } elseif (!empty($value)) {
# Aug 7th 2008, 16:46 pgcd_away $options['checked'] = 'checked';
# Aug 7th 2008, 16:46 pgcd_away if (isset($options['value']) andand $value == $options['value']) {
# Aug 7th 2008, 16:46 pgcd_away the code for checkbox() will set it as checked only if they are the same