Logs for #cakephp

Page 20 of 36,922, showing 100 records out of 3,692,143 total, starting on record 1,901, ending on 2,000

# At Username Text
# Aug 7th 2008, 02:53 achew22 or are you trying to render /app/views/categories/add.thtml?
# Aug 7th 2008, 02:53 thestaff no it's a view
# Aug 7th 2008, 02:55 achew22 thestaff: is it that file?
# Aug 7th 2008, 02:55 thestaff http://bin.cakephp.org/view/409032604
# Aug 7th 2008, 02:55 thestaff yeah it's a file
# Aug 7th 2008, 02:55 thestaff and here is my controller that goes with it
# Aug 7th 2008, 02:56 achew22 remember $this->element only renders a file located in /views/elements
# Aug 7th 2008, 02:56 achew22 therefore if you want to render something in /views/categories you have to do $this->element('../categories/add.thml')
# Aug 7th 2008, 02:56 thestaff well I have a file /views/categories/add.thtml
# Aug 7th 2008, 02:57 thestaff and that's what I see when I go items/add
# Aug 7th 2008, 02:58 thestaff i get an empty box
# Aug 7th 2008, 02:58 thestaff Element Not Found: C:\Program Files\EasyPHP 2.0b1\www\app\views\elements\../categories/add.thml.thtml
# Aug 7th 2008, 02:59 thestaff never mind
# Aug 7th 2008, 02:59 thestaff without the thtml it works better
# Aug 7th 2008, 03:00 achew22 oops, my bad
# Aug 7th 2008, 03:00 thestaff achew22, thank you !
# Aug 7th 2008, 03:00 thestaff also can you change where you put the box ?
# Aug 7th 2008, 03:00 thestaff instead of in the middle ?
# Aug 7th 2008, 03:01 achew22 I think so it is a setting somewhere
# Aug 7th 2008, 03:01 thestaff alright i'll figure it out
# Aug 7th 2008, 03:01 achew22 I need to go back to my projects now though so if something REALLY bad happens message me but otherwise I have to go
# Aug 7th 2008, 03:01 thestaff sure
# Aug 7th 2008, 03:02 thestaff thanks a bunch !
# Aug 7th 2008, 03:02 achew22 yeah, have a good one
# Aug 7th 2008, 03:08 werschinger I have an ajax request question:
# Aug 7th 2008, 03:09 werschinger I have an action called contactProfile(). At the end of this action I call a different controller action with requestAction().
# Aug 7th 2008, 03:09 werschinger Within this call, the Email component is used, but mail never gets sent.
# Aug 7th 2008, 03:10 werschinger When I do the request action in a "normal" action (non-ajax), mail gets sent.
# Aug 7th 2008, 03:19 Mathachew I've got a setup where content is saved as nodes. One table for the node, another for revisions, and a third to extend a specific node's options. I can add to these tables fine, but I cannot save data to these tables. I'm unable to update any of the three tables and can't seem to figure out why
# Aug 7th 2008, 03:19 jerrylee hi guys, in 1.2rc2 paginator->counter() will return 0/1 kind of result if no records, kind weird, any suggestions?
# Aug 7th 2008, 03:20 Mathachew To clarify, I can add to the table, but I cannot update those rows; instead new inserts are attempted
# Aug 7th 2008, 03:23 poluta1 hi.. how to passing two parameters in our custom validation function ??
# Aug 7th 2008, 03:23 poluta1 two or more
# Aug 7th 2008, 03:23 poluta1 i have read this http://book.cakephp.org/view/150/custom-validation-rules but i don't understand
# Aug 7th 2008, 03:33 Lemon|work hippykayee, reached the 150 models milestone in my cakephp application
# Aug 7th 2008, 03:34 Lemon|work doing a find() with recursive on 40 is fun
# Aug 7th 2008, 03:35 alkemann no kidding? 150 models and 40 recursive? you sure you havent over done seperation a bit?
# Aug 7th 2008, 03:36 Lemon|work i never do a 40 recursive lol
# Aug 7th 2008, 03:36 Martz lol..
# Aug 7th 2008, 03:36 Lemon|work its just for fun
# Aug 7th 2008, 03:36 alkemann My new LogableBehavior for adding automagic logging of user activity : http://bin.cakephp.org/view/463467244 Take a look and give me some feedback
# Aug 7th 2008, 03:36 Martz ACTION wonders if Lemon|work could live without containable
# Aug 7th 2008, 03:36 Lemon|work again
# Aug 7th 2008, 03:36 Lemon|work i dont do 40 recursive
# Aug 7th 2008, 03:36 Lemon|work it was a fun test to check how long it takes
# Aug 7th 2008, 03:36 Lemon|work and i use containable contantly
# Aug 7th 2008, 03:36 alkemann and how long did it take?
# Aug 7th 2008, 03:36 Lemon|work no idea
# Aug 7th 2008, 03:37 Lemon|work apache crashed
# Aug 7th 2008, 03:37 Martz nice alkemann, i made something similar, but nowhere near as clean =)
# Aug 7th 2008, 03:37 alkemann heh hardly surprising :)
# Aug 7th 2008, 03:37 alkemann Martz: thanks :)
# Aug 7th 2008, 03:37 Martz polymorphic rules =)
# Aug 7th 2008, 03:38 poluta1 is it possible if we call $this->Session from AppModel ?
# Aug 7th 2008, 03:38 poluta1 i want to create custom validation that validating captcha
# Aug 7th 2008, 03:38 poluta1 possible?
# Aug 7th 2008, 03:38 alkemann polutan: easy to find out. check if the Model object has a Session property
# Aug 7th 2008, 03:39 alkemann poluta1: im sure there are some made allready
# Aug 7th 2008, 03:39 poluta1 alkemann: i'am in app_model.php
# Aug 7th 2008, 03:39 alkemann AppModel extends Model :)
# Aug 7th 2008, 03:40 poluta1 yes.. how to check if the model object has a session property?
# Aug 7th 2008, 03:40 alkemann http://api.cakephp.org/1.2/class_model.html
# Aug 7th 2008, 03:40 stevieboy Session->check('myProp')
# Aug 7th 2008, 03:40 achew22 does anyone know of any good js time pickers?
# Aug 7th 2008, 03:41 alkemann many good ones :)
# Aug 7th 2008, 03:41 achew22 well.. I only need one ;)
# Aug 7th 2008, 03:41 alkemann http://bakery.cakephp.org/articles/view/using-the-unobtrusive-date-picker-widget-in-cakephp
# Aug 7th 2008, 03:42 Martz poluta1, alkemann: Heres what I think (not necessarily the best way to do it - but the way *I* did it) - session should be passed by the controller to the model, can be done with like beforeFiler() { $this->{$modelClass}->captcha = $session->read(); } and then in your app_model do var $captcha = null; and then in your model method $this->captcha should be populated with the session date you wrote
# Aug 7th 2008, 03:42 achew22 alkemann: but I just need input on time :(
# Aug 7th 2008, 03:43 alkemann achew22: here use my helper http://bin.cakephp.org/view/1905778472
# Aug 7th 2008, 03:43 stevieboy achew22: what about customizing this? http://ajaxian.com/archives/datepicker-using-prototype-and-scriptaculous
# Aug 7th 2008, 03:43 poluta1 alkemann: i don't understand what u mean. i don't find any session property in model class
# Aug 7th 2008, 03:44 alkemann poluta1: right. then there is your answer
# Aug 7th 2008, 03:44 achew22 stevieboy: too bad its 404'd
# Aug 7th 2008, 03:44 alkemann Martz: yea that is sorta what i do in my Logable behavior as well
# Aug 7th 2008, 03:44 alkemann Martz: havent found a clear cut best practise on it yet
# Aug 7th 2008, 03:44 stevieboy achew22: argh, sorry bout that
# Aug 7th 2008, 03:45 poluta1 alkemann: so i can't create custom validation function that validating captcha?
# Aug 7th 2008, 03:45 alkemann poluta1: sure u can. but u cant do $this->Session in ur AppModel
# Aug 7th 2008, 03:45 stevieboy achew22: lol, how do you like THAT: http://www.nogray.com/time_picker.php
# Aug 7th 2008, 03:45 stevieboy funny idea
# Aug 7th 2008, 03:45 Martz poluta1: did you read what I wrote? or am I on ignore? ;)
# Aug 7th 2008, 03:46 alkemann Martz: it has to go through babelfish tough :P
# Aug 7th 2008, 03:46 Martz oh
# Aug 7th 2008, 03:46 poluta1 Martz: owwwwwww shhh.. sorry Martz.. i'am not see your message
# Aug 7th 2008, 03:46 achew22 alkemann: well, in FF3 when I drag it tries to move the image as if I wanted to drag it into a word document ;)
# Aug 7th 2008, 03:46 poluta1 alkemann : noooo...
# Aug 7th 2008, 03:47 poluta1 alkemann : i'am not going to babelfish :P
# Aug 7th 2008, 03:47 alkemann heh ok good :)
# Aug 7th 2008, 03:47 stevieboy achew22: try again, i use ff3 too
# Aug 7th 2008, 03:47 alkemann achew22: oh :(
# Aug 7th 2008, 03:47 stevieboy it's a bit tricky
# Aug 7th 2008, 03:47 achew22 lol
# Aug 7th 2008, 03:47 achew22 no worries I'll just use dropdowns for now
# Aug 7th 2008, 03:47 stevieboy achew22: i like the clock
# Aug 7th 2008, 03:48 alkemann lol this timer picker is awesome
# Aug 7th 2008, 03:48 stevieboy lol?
# Aug 7th 2008, 03:48 achew22 lol
# Aug 7th 2008, 03:48 achew22 bot bug
# Aug 7th 2008, 03:48 stevieboy damn