# |
Oct 22nd 2009, 12:53 |
Phally |
dogmatic69: unlink errors from your cache |
# |
Oct 22nd 2009, 12:53 |
dogmatic69 |
what? |
# |
Oct 22nd 2009, 12:53 |
dogmatic69 |
thanks |
# |
Oct 22nd 2009, 12:53 |
Phally |
dogmatic69: yeah |
# |
Oct 22nd 2009, 12:53 |
Phally |
dogmatic69: oh i see, it looks nice :) |
# |
Oct 22nd 2009, 12:53 |
dogmatic69 |
Phally: you get some errors? |
# |
Oct 22nd 2009, 12:53 |
dogmatic69 |
jszwedko: np |
# |
Oct 22nd 2009, 12:52 |
dogmatic69 |
Phally: its for a africanse guy that owns a record label... called Rekordz |
# |
Oct 22nd 2009, 12:52 |
jszwedko |
thanks ADmad and dogmatic69 |
# |
Oct 22nd 2009, 12:52 |
dogmatic69 |
hahaha |
# |
Oct 22nd 2009, 12:52 |
jszwedko |
ADmad: yeah that looks like it fits, I'll try it for now, I just wanted to make sure I was replicating exactly |
# |
Oct 22nd 2009, 12:52 |
Phally |
dogmatic69: leuk dat Afrikaans :) |
# |
Oct 22nd 2009, 12:52 |
dogmatic69 |
Phally: its getting there, whats wrong? |
# |
Oct 22nd 2009, 12:52 |
dogmatic69 |
alan|macbook: what you using? |
# |
Oct 22nd 2009, 12:52 |
Phally |
dogmatic69: your site need some work :p |
# |
Oct 22nd 2009, 12:52 |
alan|macbook |
dogmatic69 : ok. Time to eat, but i'll give it another try |
# |
Oct 22nd 2009, 12:51 |
ADmad |
jszwedko: classify field name and concatinate with model name |
# |
Oct 22nd 2009, 12:51 |
alan|macbook |
dogmatic69 : doesn't work here, and i don't know why |
# |
Oct 22nd 2009, 12:51 |
dogmatic69 |
its a good one.... i am using it here www.dogmatic.co.za |
# |
Oct 22nd 2009, 12:50 |
dogmatic69 |
look on the bakery |
# |
Oct 22nd 2009, 12:50 |
dogmatic69 |
tree helper |
# |
Oct 22nd 2009, 12:50 |
alan|macbook |
dogmatic69 : are you aware of any way to get something similar to http://crepitus.com/misc/ext/tree.html with a tree model and cakephp ? |
# |
Oct 22nd 2009, 12:50 |
dogmatic69 |
zyro: Set::extract("/Parent/parent_name/[child_name='/child2/i']", $test) how about that |
# |
Oct 22nd 2009, 12:49 |
jszwedko |
haha yeah I just need the ID not the name, I'm trying to generallize some javascript code I have |
# |
Oct 22nd 2009, 12:49 |
dogmatic69 |
jszwedko: inflector::classify i think |
# |
Oct 22nd 2009, 12:48 |
jszwedko |
dogmatic69: yeah, but I was just wondering which inflector methods it calls (e.g. if I have a field with an underscore et.c) |
# |
Oct 22nd 2009, 12:48 |
dogmatic69 |
) |
# |
Oct 22nd 2009, 12:48 |
dogmatic69 |
TehTreag: is that not the name? |
# |
Oct 22nd 2009, 12:48 |
TehTreag |
that's the name, the id is like dogmatic69 says |
# |
Oct 22nd 2009, 12:48 |
TehTreag |
jszwedko: data[model][field] |
# |
Oct 22nd 2009, 12:46 |
dogmatic69 |
jszwedko: ModelField i think |
# |
Oct 22nd 2009, 12:45 |
jszwedko |
's source, but can't find exactly where that happens |
# |
Oct 22nd 2009, 12:45 |
jszwedko |
does anyone know exactly in what manner the form helper autogenerates the id's for the input elements? I'm trying to trace through helper |
# |
Oct 22nd 2009, 12:45 |
zyro |
/Post/Comment[author_name=john]/../name Selects the name of all Posts that have at least one Comment written by john |
# |
Oct 22nd 2009, 12:45 |
zyro |
well i was getting curious because manual and/or api/tests got that table which xpath statements work, which included: |
# |
Oct 22nd 2009, 12:44 |
dogmatic69 |
sno thats not it |
# |
Oct 22nd 2009, 12:43 |
dogmatic69 |
$test['Parent'][key( Set::extract('/Parent/Child[child_name=child2]', $test) )]; try something like that |
# |
Oct 22nd 2009, 12:43 |
dogmatic69 |
dont know if you can do that one shot. |
# |
Oct 22nd 2009, 12:42 |
zyro |
nope i want the name of the parent whose child is the child with child_name "child2" |
# |
Oct 22nd 2009, 12:41 |
dogmatic69 |
zyro: you want the child name? |
# |
Oct 22nd 2009, 12:40 |
zyro |
this time binned if it helps: http://bin.cakephp.org/view/665069352 ... |