Log message #2298541

# At Username Text
# Sep 21st 2011, 14:08 ADmad s/defaulting/default
# Sep 21st 2011, 14:08 ADmad messing up defaulting functionality and then looking for alternatives to achieve the same!! genius
# Sep 21st 2011, 14:08 TehTreag Ghost_Trolley: What have you done?
# Sep 21st 2011, 14:08 Ghost_Trolley P
# Sep 21st 2011, 14:07 Ghost_Trolley ouch
# Sep 21st 2011, 14:07 Section58 i know the code he is working on
# Sep 21st 2011, 14:07 Section58 TehTreag: in his case its not
# Sep 21st 2011, 14:06 TehTreag Ghost_Trolley: What do you mean? The default behavior is to show validation errors with the field.
# Sep 21st 2011, 14:05 Ghost_Trolley Sure, cheers
# Sep 21st 2011, 14:05 carichardson Hello, I'm trying to switch from php sessions to database sessions right now, created the cake_sessions in my database, updated the core.php file, but I don't see anything saving in cake_sessions table. Anybody know what I'm doing wrong? Any help would be much appreciated.
# Sep 21st 2011, 14:05 Section58 you could copy that
# Sep 21st 2011, 14:05 Section58 the form views for the adds have labels all over them
# Sep 21st 2011, 14:05 Section58 label=>false in the options of the forms
# Sep 21st 2011, 14:05 Section58 the good examples are on my pc
# Sep 21st 2011, 14:05 Ghost_Trolley im looking for an example of it on the site..
# Sep 21st 2011, 14:04 Ghost_Trolley I think so :P
# Sep 21st 2011, 14:04 Section58 Ghost_Trolley: hello, are you thinking of label ?
# Sep 21st 2011, 14:04 Section58 you have a star next to your name
# Sep 21st 2011, 14:03 dakota Section58: Got to be off. Hope you figure it out
# Sep 21st 2011, 14:03 Ghost_Trolley good afternoon, btw ;)
# Sep 21st 2011, 14:03 Ghost_Trolley Yo section58, is there an easy way to display text next to a field ('please enter a postcode') when its left blank?
# Sep 21st 2011, 14:03 Section58 and this was my attempt of making it work better
# Sep 21st 2011, 14:02 Section58 to a complex mess that makes no sence
# Sep 21st 2011, 14:02 Section58 its been the same query slowly building up
# Sep 21st 2011, 14:02 Section58 and no
# Sep 21st 2011, 14:02 Section58 NetersLandreau: it does work ..
# Sep 21st 2011, 14:02 Section58 somehow get joins working after its done the containable magic for the other filters
# Sep 21st 2011, 14:02 NetersLandreau Section58: you've been battling this for a few days.. perhaps you may just want to make it work and then make it work better?
# Sep 21st 2011, 14:01 Section58 its like i wanna do a mini query inside a query
# Sep 21st 2011, 14:01 Section58 i guess i would have to drop contains for joins.
# Sep 21st 2011, 14:01 Section58 it needs a lot of tcl, i don't wanna be making it slower with poor querys
# Sep 21st 2011, 14:00 Section58 this whole site app is wack
# Sep 21st 2011, 14:00 TehTreag )
# Sep 21st 2011, 14:00 dakota I use joins quite often in some projects. Sometimes relations are just too complex to do any other way
# Sep 21st 2011, 14:00 dakota TehTreag: likewise. but it isn't as clean as 'contains' => array('TutorialView')
# Sep 21st 2011, 13:59 TehTreag dakota: Looks nice enough to me.
# Sep 21st 2011, 13:59 TehTreag http://bin.cakephp.org/view/756877933
# Sep 21st 2011, 13:58 dakota the joins syntax isn't as clean as what you'd probably like, but it works :)
# Sep 21st 2011, 13:58 dakota Section58: http://book.cakephp.org/view/1047/Joining-tables
# Sep 21st 2011, 13:58 Section58 i am happy to make lots of spag code if it tidys the querys to something less than 25
# Sep 21st 2011, 13:57 dakota Section58: but you can do it with 'ad-hoc joins'