Log message #2298866

# At Username Text
# Sep 21st 2011, 22:58 jose_zap NoReGreT: allow the index action
# Sep 21st 2011, 22:58 j22bad Hi all. Can someone help me with this issue. I have an element that is apart of the layout but not apart of the $content_for_layout. This element is never refreshed when I click on a link that is apart of the content_for_layout only when I click on a link that is not apart of the content_for_layout
# Sep 21st 2011, 22:58 NoReGreT jose_zap: yeah.. that didn't work for me.. i'm working on the login action, the login form is in index.ctp, so i have no need for login.ctp. i tried autorender=false, and i put in login() that if user is not logged in, redirect to index.. causing a loop.. what can I do here?
# Sep 21st 2011, 22:56 jose_zap NoReGreT: $this->autoRender = false;
# Sep 21st 2011, 22:56 nnnnathann jose_zap: thank you.
# Sep 21st 2011, 22:55 cpgo at least try to find a 1.3 tutorial lol, or look at cake 2.0 documentation, idk
# Sep 21st 2011, 22:55 NoReGreT how can i unlink an action from its view ?
# Sep 21st 2011, 22:54 jose_zap nnnnathann: ClassRegistry::config()
# Sep 21st 2011, 22:48 diverdude hmm how much of this tutorial is still valid? http://bakery.cakephp.org/articles/theshz/2006/11/28/user-permissions-and-cakephp-acl
# Sep 21st 2011, 22:46 NoReGreT I have a login form in a page that posts to login(), i don't want any redirection to login to happen, i just want to enter creds then login and stay on the same page, is ajax the only way to achieve that?
# Sep 21st 2011, 22:23 diverdude if i make a table with a TIMESTAMP column and set it to NOT NULL, will cakephp validation require to supply a paramter then?
# Sep 21st 2011, 22:23 nnnnathann any clever ideas for this one?
# Sep 21st 2011, 22:22 nnnnathann my problem is after I call ClassRegistry::init() on an imported model (with a specified ds parameter), it does not apply to that model's relationships, causing the imported model code to break
# Sep 21st 2011, 22:21 nnnnathann question for the cake gurus... I am loading in models via the App:build directives in bootstrap, is there a way to get the models loaded from an App::build directory to use a certain db config, without touching the imoprted Model code?
# Sep 21st 2011, 21:08 Lemon|mbp time to push this stuff to a recommendation engine
# Sep 21st 2011, 20:59 scoutmstershke so far so good through almost done
# Sep 21st 2011, 20:58 scoutmstershke man I tired of writing this c++ app
# Sep 21st 2011, 20:57 scoutmstershke !Hitler
# Sep 21st 2011, 20:57 scoutmstershke grrrrr
# Sep 21st 2011, 20:48 TehTreag )
# Sep 21st 2011, 20:48 csotelo just a type writing mistake
# Sep 21st 2011, 20:47 TehTreag lol
# Sep 21st 2011, 20:47 TehTreag ACTION prefers beers
# Sep 21st 2011, 20:47 csotelo beers :D
# Sep 21st 2011, 20:47 csotelo two bears fo you...
# Sep 21st 2011, 20:47 csotelo D
# Sep 21st 2011, 20:47 csotelo yes...
# Sep 21st 2011, 20:45 TehTreag csotelo: It shouldn't take long to experiment with it.
# Sep 21st 2011, 20:45 csotelo TehTreag, I am glad, thanks a lot for your help, this is a good way to search my target
# Sep 21st 2011, 20:45 TehTreag csotelo: I'm not sure... I've never had to do it. Maybe someone else has other ideas on the subject. Good luck.
# Sep 21st 2011, 20:45 csotelo TehTreag, or overload the method _paths or rewrite then, I am thinking on rewrite this method and call the the parent::_paths and then add the new path.. what do you think .. or someone who has do something like that?
# Sep 21st 2011, 20:42 csotelo TehTreag, oh.. let me see, I was thinking that is something extra on bootstrap.php or something like that, let me check.. thanks
# Sep 21st 2011, 20:41 TehTreag csotelo: Seems easy enough to extend that one, and provide your own _paths() method.
# Sep 21st 2011, 20:40 TehTreag csotelo: There's not much to that view... Have you considered writing your own? https://github.com/cakephp/cakephp/blob/1.3.12/cake/libs/view/theme.php
# Sep 21st 2011, 20:37 csotelo hi
# Sep 21st 2011, 20:37 csotelo Are there a way to take /app/views/themed and move it to /themed folder? thanks
# Sep 21st 2011, 20:29 jgonca that's one option. don't forget to do that only in the controller you want, otherwise you'll disable csrf protection for all your site
# Sep 21st 2011, 20:28 Jonah11_ jgonca, looks like i need to set validatePost=false, ty
# Sep 21st 2011, 20:26 jgonca jonah11_: check the book for more details: http://book.cakephp.org/view/1296/Security-Component
# Sep 21st 2011, 20:26 Jonah11_ jgonca, how do i do the latter?
# Sep 21st 2011, 20:26 jgonca jonah11_: you can override the uses variable in your controller, and remove it from the array or you can configure it to let the forms pass