# |
Aug 7th 2008, 03:57 |
TonkaTruck |
Also the Routes docs references an :id-:slug route |
# |
Aug 7th 2008, 03:57 |
stevieboy |
no, firebug, an addon |
# |
Aug 7th 2008, 03:57 |
thestaff |
yeah firefox |
# |
Aug 7th 2008, 03:57 |
TonkaTruck |
I was a bit confused because cake's Inflector class has slug() but it's unrelated to his behavior. |
# |
Aug 7th 2008, 03:57 |
stevieboy |
thestaff: you better should |
# |
Aug 7th 2008, 03:57 |
achew22 |
thestaff: do you have firebug? |
# |
Aug 7th 2008, 03:56 |
achew22 |
ah -- I read "looking for" |
# |
Aug 7th 2008, 03:56 |
TonkaTruck |
achew22: no no...I found it like two weeks ago. |
# |
Aug 7th 2008, 03:56 |
thestaff |
yeah it does |
# |
Aug 7th 2008, 03:56 |
stevieboy |
achew22: (11:07:11) TonkaTruck: Hmm...so I'm looking at mariano's sluggable behavior |
# |
Aug 7th 2008, 03:56 |
thestaff |
it seems like the form in the thickbox is stopped |
# |
Aug 7th 2008, 03:56 |
achew22 |
thestaff: does it work when its not in a modal window? |
# |
Aug 7th 2008, 03:56 |
achew22 |
TonkaTruck: can you really not find it? http://bakery.cakephp.org/articles/view/slug-behavior |
# |
Aug 7th 2008, 03:56 |
Martz |
but *sigh* |
# |
Aug 7th 2008, 03:56 |
thestaff |
the submit doesn't work |
# |
Aug 7th 2008, 03:55 |
Martz |
and colour |
# |
Aug 7th 2008, 03:55 |
Martz |
well, if you ask me, it should be behaviour ;P |
# |
Aug 7th 2008, 03:55 |
thestaff |
achew22, I have another issue |
# |
Aug 7th 2008, 03:55 |
TonkaTruck |
haha |
# |
Aug 7th 2008, 03:55 |
achew22 |
Martz: has the best explanation |
# |
Aug 7th 2008, 03:55 |
Martz |
D |
# |
Aug 7th 2008, 03:55 |
TonkaTruck |
sold. |
# |
Aug 7th 2008, 03:55 |
Martz |
TonkaTruck: because behaviors are very, very cool =) |
# |
Aug 7th 2008, 03:55 |
stevieboy |
-i |
# |
Aug 7th 2008, 03:55 |
stevieboy |
stupid boit |
# |
Aug 7th 2008, 03:54 |
achew22 |
TonkaTruck: because it's a behavior and they are usually easier |
# |
Aug 7th 2008, 03:54 |
TonkaTruck |
Hmm...so I'm looking at mariano's sluggable behavior...and if I don't need collision-proofing because I'm concatenating id-slug why can't I just use cake's Inflector::slug() with Routes and do it myself? |
# |
Aug 7th 2008, 03:54 |
achew22 |
the !!! thing could be my favorite feature of the bot |
# |
Aug 7th 2008, 03:54 |
stevieboy |
this doesnt work in pidgin :/ |
# |
Aug 7th 2008, 03:54 |
stevieboy |
^ |
# |
Aug 7th 2008, 03:54 |
stevieboy |
^ |
# |
Aug 7th 2008, 03:53 |
achew22 |
stevieboy: I guess, ask his great grampa if he has any powers |
# |
Aug 7th 2008, 03:53 |
poluta1 |
Martz: ok, i try |
# |
Aug 7th 2008, 03:53 |
Martz |
poluta1: in my first example, $this->{$this->modelClass}->captcha = <session logic goes here> allows any model to set captcha |
# |
Aug 7th 2008, 03:53 |
stevieboy |
achew22: lol, so the magic powers are gone? |
# |
Aug 7th 2008, 03:53 |
pgcd |
what's the proper way to use containable for a HABTM association? |
# |
Aug 7th 2008, 03:53 |
achew22 |
stevieboy: he is the 7th generation of bat coder. I guess they inbred ;) |
# |
Aug 7th 2008, 03:53 |
Martz |
poluta1: make sure you pick a model var "out of the way" so something like var $captcha = null; in the model. From a controller you would do $this->Model->captcha = <your session logic/read here> and then from the model method access it via $this->captcha. |
# |
Aug 7th 2008, 03:52 |
stevieboy |
hi |
# |
Aug 7th 2008, 03:52 |
stevieboy |
batcoder-7: but you are the BAT-coder!!! look at your toolbelt. maybe you have some magic stuff in it. |
# |
Aug 7th 2008, 03:52 |
achew22 |
hello |