# |
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 |
# |
Aug 7th 2008, 03:52 |
pgcd_away |
hello |
# |
Aug 7th 2008, 03:52 |
stevieboy |
lol |
# |
Aug 7th 2008, 03:51 |
achew22 |
for some reason this reminds me of the time someone asked me for a project that was 99.99% browser compatible and I couldn't stop laughing and lost the contract |
# |
Aug 7th 2008, 03:51 |
stevieboy |
$this->Session |
# |
Aug 7th 2008, 03:51 |
stevieboy |
$session only exists in view |
# |
Aug 7th 2008, 03:51 |
poluta1 |
Martz: i got error " undefined variabel $session " |
# |
Aug 7th 2008, 03:51 |
batcoder-7 |
and i jus dont see how its gonna happen |
# |
Aug 7th 2008, 03:51 |
stevieboy |
and it'll calls the install of netscape nav 3.0 |
# |
Aug 7th 2008, 03:51 |
batcoder-7 |
damn i got to get htis whole thing doen by tonight |
# |
Aug 7th 2008, 03:51 |
achew22 |
it just needs to be able to track my books appointments and cure cancer -- nothing special |
# |
Aug 7th 2008, 03:50 |
stevieboy |
to make a point |
# |
Aug 7th 2008, 03:50 |
achew22 |
only me |