Hi,
In the past I used to create separate admin section on the website to
control the content (users, articles, images, etc.). And I was
thinking it may be easier and BETTER to create additional links for
admin tasks in the actual pages (front-end). Let's say if we have a
page with article and
check the CAKE_ADMIN parameters, and the 'admin' routing. I suppose
it's exactly what you describe.
On Jun 29, 5:19 pm, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Hi,
In the past I used to create separate admin section on the website to
control the content (users, articles, images, etc.).
I know about CAKE_ADMIN parameter but I don't think that's the best
way to control the content. I have to create separate layout, separate
listing with pagination, separate search facilities. Basically every
task has to be done twice.
I was hoping that someone may be able to point out a very big
On 6/29/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I know it may differ from project to project but what if we would talk
about standard website with categories+articles.
Which approach do you prefer?
I used to be in the create a separate admin section camp, but I
believe it's better to
Well if you know your user is admin, you know it into the views and
controllers. Nothing stop you to work both case in the same views, as
well in same controller method, using if
On Jun 29, 5:35 pm, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I know about CAKE_ADMIN parameter but I don't think
Just wondering how you would plan to control the visibility of the extra
admin links?
Keeping in mind that best practice is to minimise logic in the views, would
you pass the links in through the controller, render a different menu
element, or some other way?
Cheers,
Sonic
On 6/29/07, Chris Hartjes [EMAIL PROTECTED] wrote:
On 6/29/07, Sonic Baker [EMAIL PROTECTED] wrote:
Just wondering how you would plan to control the visibility of the extra
admin links?
Keeping in mind that best practice is to minimise logic in the views,
would
you pass the links in
On 6/29/07, Sonic Baker [EMAIL PROTECTED] wrote:
Just wondering how you would plan to control the visibility of the extra
admin links?
Keeping in mind that best practice is to minimise logic in the views, would
you pass the links in through the controller, render a different menu
element, or
You are right, I could use the same views and different layouts. But
then I would still have to do all the permission check, etc. And
usually the admin content listings and front-end listings look
diferent. I.e. in the admin section articles listed in a table with
edit delete links next to it.