It depends what type of links you want to display. If you want to display static links, hardcoded in your layout, you can use an if clause in the layout. If you want to display the links obtained from a model, you get them in the controller, you use the set method to make them available in the view and after that, you use an if clause to display them or not in the view.
On 26 Dez, 02:12, kani <[email protected]> wrote: > Sorry my english is not well.i am a begginer. I am using cakephp 1.2.5 > > i want to hide/show different links for each logged in user any way / > admin ,manger ,user. / > Shoud i do this in ap_controller ? And how to do this > > link1 \ > \ > link2 \ \ > \ \ > link3 * manager \ > / * admin > link4 / / > / > link5 \ / > * user / > link6 / / > / > link7 / 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
