Friday, December 25, 2009

Re: How to hide/show links in view /default.ctp/ for different types of user group

You make sure that the needed information is provided to the view/
layout and act upon it!

To provide the information to the view/layout, use the controllers set
method or from the view/layout, use requestAction.

In the view/layout make an if { } else { } structure or a switch
statement around the html->link statements.

Enjoy,
John

On Dec 25, 6:03 am, kani <infok...@gmail.com> wrote:
> How to hide/show links in view /default.ctp/ for different types of
> user group./admin manager user/
> I used acl component.

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: