Log message #2298884

# At Username Text
# Sep 21st 2011, 23:15 jose_zap so cow can access the index() action?
# Sep 21st 2011, 23:14 NoReGreT jose_zap: and note that the login form is in index() of contents
# Sep 21st 2011, 23:13 NoReGreT jose_zap: that message is displayed in index() of contents_controller (btw, the whole site is using Auth, except for contents_controller where there is an allow('*') in its beforeFilter0
# Sep 21st 2011, 23:13 j22bad here is a code sample http://bin.cakephp.org/view/435827123
# Sep 21st 2011, 23:12 jose_zap NoReGreT: i what location?
# Sep 21st 2011, 23:11 j22bad !bin
# Sep 21st 2011, 23:11 NoReGreT jose_zap: i forgot to mention that login() is in users_controller and index() is in contents_controller, I changed the loginAction allowed index in beforeRender() (in contents_controller, even though it's allowed in beforeFilter) and i'm getting the "You are not authorized to access that location" message, any ideas ?
# Sep 21st 2011, 23:10 j22bad Why doesn't the element that is not within the $content_for_layout not reload?
# Sep 21st 2011, 23:09 j22bad the element in sidbar only reloads when I click a navigation link and not any link within the $content_for_layout (main content)
# Sep 21st 2011, 23:08 j22bad I have a header with my navigation links...a search element in right bar and then the center is content for layout
# Sep 21st 2011, 23:07 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, 23:01 jose_zap I meant: do the login in login()
# Sep 21st 2011, 23:01 jose_zap do the logic in index, but put the login action to index (it is actually just a redirect)
# Sep 21st 2011, 23:00 jose_zap no
# Sep 21st 2011, 23:00 NoReGreT jose_zap: so you're saying to do all login logic in index()?
# Sep 21st 2011, 22:59 jose_zap and set the login action in AuthComponent to index too
# Sep 21st 2011, 22:59 jose_zap $this->Auth->allow('index')
# Sep 21st 2011, 22:59 jose_zap in beforeREnder
# 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