Log message #2298905

# At Username Text
# Sep 21st 2011, 23:20 cpgo mean*
# Sep 21st 2011, 23:20 cpgo j22bad, what do you mena by reload
# Sep 21st 2011, 23:20 NoReGreT jose_zap: i could have sworn that i added that way back to apps_controller.. but i can't see it now... :S
# Sep 21st 2011, 23:19 jose_zap did you already do it?
# Sep 21st 2011, 23:19 jose_zap cool, now in your users controller, also allow the login action
# Sep 21st 2011, 23:19 NoReGreT jose_zap: yes
# Sep 21st 2011, 23:19 jose_zap is it pointing to login?
# Sep 21st 2011, 23:19 jose_zap ok, now check the login form action
# Sep 21st 2011, 23:19 NoReGreT jose_zap: it is actually the default route to the website
# Sep 21st 2011, 23:18 NoReGreT jose_zap: yeah
# Sep 21st 2011, 23:18 jose_zap so you can reach the action
# Sep 21st 2011, 23:18 NoReGreT jose_zap: sure, there is an allow(*) in beforeFilter of contents
# Sep 21st 2011, 23:17 Seguer D:
# Sep 21st 2011, 23:17 Seguer i mean
# Sep 21st 2011, 23:17 cpgo ACTION is a cow
# Sep 21st 2011, 23:17 Seguer D
# Sep 21st 2011, 23:17 cpgo yes
# Sep 21st 2011, 23:17 Seguer where cows are our masters
# Sep 21st 2011, 23:17 Seguer did i enter an alternate reality
# Sep 21st 2011, 23:17 Seguer what the
# Sep 21st 2011, 23:15 jose_zap it is allowed, isn't it?
# 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