Log message #111017

# At Username Text
# Aug 8th 2008, 04:30 np_ i need to make a custom admin route
# 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:18 alkemann pgcd: its much eaier to do 4options = array_merge($this->defaults, $options);
# Aug 8th 2008, 04:17 pgcd alkemann: http://bin.cakephp.org/view/979843963
# Aug 8th 2008, 04:17 alkemann pgcd: here is my helper http://bin.cakephp.org/view/1900794134
# Aug 8th 2008, 04:16 pgcd alkemann: here i go
# 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:13 Ins|de is it possible to create a link calling a javascript function with htmlhelper ?
# Aug 8th 2008, 04:11 daschl stevieboy, rofl, not its not.. k then i have to write a workaround :D
# 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:10 anf6 my actual queries take 15ms and these other ones take 30ms each
# 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:09 daschl stevieboy, k thanks :D
# Aug 8th 2008, 04:09 stevieboy daschl: just debug($this) and look for the value. i guess action is written somewhere
# Aug 8th 2008, 04:06 daschl hey guys, is it possible to find out the current method in the controller? when i use $this->params i get the ajax method 'cause i need this in an ajax contect.. i need the method in /controller/method
# Aug 8th 2008, 04:01 phunkk so i gave the tutorial a try and that works like a charm
# Aug 8th 2008, 04:01 phunkk ok (: my experience with the auth component was a bit disencouraging
# Aug 8th 2008, 04:00 stevieboy thats all i can say
# Aug 8th 2008, 04:00 stevieboy phrunkk: i used the auth-component and it's very nice
# Aug 8th 2008, 03:54 phunkk guess not
# Aug 8th 2008, 03:48 phunkk (http://bakery.cakephp.org/articles/view/simple-form-authentication-in-1-2-x-x)
# Aug 8th 2008, 03:47 phunkk anybody with an opinion concerning simple-form-authentication vs. cake's Auth component?
# Aug 8th 2008, 03:43 alkemann right
# Aug 8th 2008, 03:43 pgcd alkemann: ok, i found that i have to use FormHelper as well
# Aug 8th 2008, 03:40 pgcd alkemann: if i try something like this: class ExtendedFormHelper extends FormHelper, i get a fatal error (Class 'FormHelper' not found)
# Aug 8th 2008, 03:33 pgcd alkemann: ok, i see
# Aug 8th 2008, 03:33 alkemann or maybe even in the view where ur using the helper
# Aug 8th 2008, 03:32 alkemann in the helper u make or use
# Aug 8th 2008, 03:31 pgcd alkemann: in app_helper, you mean?
# Aug 8th 2008, 03:30 alkemann put it in the helper as a start value
# Aug 8th 2008, 03:30 pgcd alkemann: in the edit form (it's a validity date range kind of field)
# Aug 8th 2008, 03:28 alkemann defaults for all models? as in all models ahve the same field and u want it to have a default start value in the edit form? or in the DB if not supplied?
# Aug 8th 2008, 03:28 pgcd alkemann: i guess i'll find something in the bakery then, thank you
# Aug 8th 2008, 03:27 alkemann there are dozens. even made one or two myself
# Aug 8th 2008, 03:27 pgcd alkemann: have you seen anything like that? i'd appreciate a starting point... i also need to have some fields display a default value in all models - would that be something to do in appModel or in appController?
# Aug 8th 2008, 03:25 alkemann pgcd: extend it or make ur own helper that uses form helper
# Aug 8th 2008, 03:25 pgcd are the methods in FormHelper overrideable? I mean, is there a way to have all datetime fields display a calendar style thingy?
# Aug 8th 2008, 03:24 alkemann the_mak: http://cakephp.org/#learn
# Aug 8th 2008, 03:22 the_mak can any give me a site where i can learn to make simple site for learning... i mean how to work with the cake.
# Aug 8th 2008, 03:21 pgcd alkemann: i guess you can - i'm using actsas('containable') and it seems to work
# Aug 8th 2008, 02:54 alkemann cant add actsAs to AppModel?