# |
Sep 21st 2011, 23:25 |
cpgo |
inside editSubMenu div |
# |
Sep 21st 2011, 23:25 |
cpgo |
umm are you using forms for links? |
# |
Sep 21st 2011, 23:25 |
j22bad |
cpgo: thank you for your time from L Algebra. If I need more help I'll repost. |
# |
Sep 21st 2011, 23:24 |
j22bad |
cpgo: I think I figured it out. It is being called only on the index action. |
# |
Sep 21st 2011, 23:23 |
cpgo |
btw, cake has its own theming if you want to use that |
# |
Sep 21st 2011, 23:23 |
cpgo |
are you using any caching or something |
# |
Sep 21st 2011, 23:22 |
j22bad |
cpgo: no, no ajax |
# |
Sep 21st 2011, 23:21 |
cpgo |
are you using ajax, which element are you referring to |
# |
Sep 21st 2011, 23:21 |
j22bad |
cpo: I remember doing that years ago 1yr in college |
# |
Sep 21st 2011, 23:21 |
jose_zap |
no problem :) |
# |
Sep 21st 2011, 23:21 |
cpgo |
linear algebra blows :( |
# |
Sep 21st 2011, 23:21 |
NoReGreT |
jose_zap: thanks :) |
# |
Sep 21st 2011, 23:21 |
j22bad |
refreash |
# |
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 ? |