Log message #110750

# At Username Text
# Aug 7th 2008, 23:14 markstory set allowEmpty = false as well.
# Aug 7th 2008, 23:14 Jonah markstory: it does not work that way either
# Aug 7th 2008, 23:14 markstory Jonah: no need to make required into an array.
# Aug 7th 2008, 23:13 markstory I'm using it on my site.
# Aug 7th 2008, 23:13 Jezek1 mmm i'll look around
# Aug 7th 2008, 23:12 markstory freebox: the tutorial? I found it on google.
# Aug 7th 2008, 23:12 markstory no need to make an array.
# Aug 7th 2008, 23:12 markstory Jonah: 'required' => true should suffice.
# Aug 7th 2008, 23:12 freebox markstory: where? ^^
# Aug 7th 2008, 23:12 markstory Jezek1: I've done that before :) there is a tutorial somewhere about it.
# Aug 7th 2008, 23:12 Jonah http://bin.cakephp.org/view/478946084
# Aug 7th 2008, 23:11 Jezek1 i'm trying to generate a sitemap dynamically in cakephp :O
# Aug 7th 2008, 23:11 Jezek1 thanks
# Aug 7th 2008, 23:11 Jonah ill past
# Aug 7th 2008, 23:11 Jonah no... unless i am doing it wrong...
# Aug 7th 2008, 23:11 markstory Jezek1: you can do it anywhere.
# Aug 7th 2008, 23:11 Jezek1 oh cool. didn't know i could do that in the controller
# Aug 7th 2008, 23:10 markstory Jonah: setting required doesn't work?
# Aug 7th 2008, 23:10 Jonah as in so that if it is not passed through $this->data into validates(), it should not validate
# Aug 7th 2008, 23:10 markstory both will shut off sql log
# Aug 7th 2008, 23:10 markstory Jezek1: Configure::write('debug', 0); or 1
# Aug 7th 2008, 23:09 Jezek1 sorry
# Aug 7th 2008, 23:09 markstory Jonah: what do you mean by required?
# Aug 7th 2008, 23:09 Jezek can i turn it off from the controller
# Aug 7th 2008, 23:09 Jonah how do I make a field required?
# Aug 7th 2008, 23:08 markstory turn debug off.
# Aug 7th 2008, 23:08 Jezek cake sql log
# Aug 7th 2008, 23:08 Jezek how do i disable the Cake SQL table for an individual controller
# Aug 7th 2008, 23:06 markstory wish all problems were that straight forward :)
# Aug 7th 2008, 23:06 markstory anytime :D
# Aug 7th 2008, 23:05 freebox thank you
# Aug 7th 2008, 23:05 markstory I've done very similar things all the time.
# Aug 7th 2008, 23:05 freebox i'm working about 8 hours in this code, im blind now
# Aug 7th 2008, 23:05 markstory no worries :)
# Aug 7th 2008, 23:05 freebox sorry
# Aug 7th 2008, 23:05 markstory fail :)
# Aug 7th 2008, 23:05 freebox haha
# Aug 7th 2008, 23:05 freebox function view($id = null) { if (!$slug) {
# Aug 7th 2008, 23:04 t73net there you go, someone with more exp than me and slug behaviour
# Aug 7th 2008, 23:04 freebox my bad
# Aug 7th 2008, 23:04 freebox sorry