Log message #1033484

# At Username Text
# Sep 12th 2009, 19:15 lukas__ }
# Sep 12th 2009, 19:15 lukas__ //vd (APP_DIR . DS . 'views' .DS . $this -> viewPath . DS . $this -> action . $this -> ext);
# Sep 12th 2009, 19:15 lukas__ }
# Sep 12th 2009, 19:15 lukas__ $this->render('/items/'.$this -> action);
# Sep 12th 2009, 19:15 lukas__ echo 'OK';
# Sep 12th 2009, 19:15 lukas__ if (is_file(APP_DIR . DS . 'views' .DS . $this -> viewPath . DS . $this -> action . $this -> ext) != true) {
# Sep 12th 2009, 19:15 lukas__ #TODO There should be a better way :) or not? ;)
# Sep 12th 2009, 19:15 lukas__ function beforeRender() {
# Sep 12th 2009, 19:14 lukas__ so code like
# Sep 12th 2009, 19:14 lukas__ I want to tell cake to use 'default' view.ctp if viuw fo current model is not created
# Sep 12th 2009, 19:13 lukas__ Hi
# Sep 12th 2009, 18:59 AD7six dogmatic69: see example 6 - look for how that works. nobody suggested you use it.
# Sep 12th 2009, 18:55 dogmatic69 AD7six: im using that already in my app, i use it for my menus... it does not do what i want
# Sep 12th 2009, 18:50 unclezoot hehe
# Sep 12th 2009, 18:50 unclezoot this is early for spaniards, they'll be thinking of going out about now
# Sep 12th 2009, 18:50 unclezoot did you not have your siesta this afternoon?
# Sep 12th 2009, 18:50 unclezoot one hour ahead then
# Sep 12th 2009, 18:49 AD7six spain
# Sep 12th 2009, 18:49 unclezoot where do you live mate?
# Sep 12th 2009, 18:48 AD7six you aren't in my timezone ;)
# Sep 12th 2009, 18:48 unclezoot 1:13?! lightweight :)
# Sep 12th 2009, 18:48 unclezoot nite
# Sep 12th 2009, 18:48 AD7six nn
# Sep 12th 2009, 18:48 AD7six dogmatic69: see where it does the same sort of thing here: http://bakery.cakephp.org/articles/view/tree-helper-1
# Sep 12th 2009, 18:46 unclezoot im presuming the view object
# Sep 12th 2009, 18:45 dogmatic69 $this need to be ?
# Sep 12th 2009, 18:44 unclezoot can you use CRI to load the element im thinking
# Sep 12th 2009, 18:44 AD7six dogmatic69: for $this->element to work, what does $this need to be
# Sep 12th 2009, 18:43 dogmatic69 *there
# Sep 12th 2009, 18:43 dogmatic69 if it was just for the helper i would have just made a fundtion in the helper and put the html ther
# Sep 12th 2009, 18:42 dogmatic69 no
# Sep 12th 2009, 18:42 AD7six dogmatic69: does your element exist only for the helper to use
# Sep 12th 2009, 18:41 dogmatic69 btw, i want to render an element in a helper for the reason elements exist... shoing the same html bits over and over with out coding it all over the place
# Sep 12th 2009, 18:38 AD7six NoReGreT: in the book, but it's just a form like any other
# Sep 12th 2009, 18:37 dogmatic69 thanks
# Sep 12th 2009, 18:36 AD7six dogmatic69: instead of giving you an answer I'll just say "some characters, that form a sentance" then
# Sep 12th 2009, 18:36 dogmatic69 just some divs
# Sep 12th 2009, 18:35 dogmatic69 it an element "message" in folder ajax
# Sep 12th 2009, 18:34 AD7six dogmatic69: what's in ajax/message
# Sep 12th 2009, 18:33 dogmatic69 line 21
# Sep 12th 2009, 18:33 dogmatic69 http://bin.cakephp.org/view/246434004