Log message #108533

# At Username Text
# Aug 7th 2008, 03:59 achew22 TonkaTruck: deal with that later, if you are using reverse routing and some tricks you can change it site wide in 10 min
# Aug 7th 2008, 03:58 stevieboy Martz: scaffolding for production use is bad imo
# Aug 7th 2008, 03:58 achew22 TonkaTruck: in my opinion as a programmer though get the site going then add sluggable
# Aug 7th 2008, 03:58 Martz scaffolded and admin scaffolded views
# Aug 7th 2008, 03:58 Martz anyone tried the "biggest shortcut" in cakephp yet? Create a new project, app_controller.php with var $scaffold and beforeFilter() check for $this->params['admin'] and set $this->scaffold = 'admin'; and then all you need is model files, and all of your app is scaffolded instantly :D
# 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?