Re: CakePHP View Sharing w/ ACL (so no need for duplicate view files).

2011-01-28 Thread AD7six
On Jan 28, 10:45 pm, OldWest wrote: > Hey AD7six, > > I am not sure why I would do all of that if I can just check the Auth status > and echo out the edit controls as necessary.. Maybe I did not understand > your reply properly. What is the benefit of using that .js? you asked for other approac

Re: CakePHP View Sharing w/ ACL (so no need for duplicate view files).

2011-01-28 Thread OldWest
Hey AD7six, I am not sure why I would do all of that if I can just check the Auth status and echo out the edit controls as necessary.. Maybe I did not understand your reply properly. What is the benefit of using that .js? -- Our newest site for the community: CakePHP Video Tutorials http://tv

Re: CakePHP View Sharing w/ ACL (so no need for duplicate view files).

2011-01-28 Thread AD7six
On Jan 28, 8:20 pm, OldWest wrote: > Basically all I want to do is, instead of creating 2 unique views for the > admin and user interface, I only want to display the CRUD controls next to > the items when the admin IS logged in. > > Now the way I am currently doing it is checking the Auth sessio

CakePHP View Sharing w/ ACL (so no need for duplicate view files).

2011-01-28 Thread OldWest
Basically all I want to do is, instead of creating 2 unique views for the admin and user interface, I only want to display the CRUD controls next to the items when the admin IS logged in. Now the way I am currently doing it is checking the Auth session status and echoing out the controller li

CakePHP View Sharing w/ ACL (so no need for duplicate view files).

2011-01-28 Thread OldWest
Basically all I want to do is, instead of creating 2 unique views for the admin and user interface, I only want to display the CRUD controls next to the items when the admin IS logged in. Now the way I am currently doing it is checking the Auth session status and echoing out the controller li