Why would he use elements if there's Auth->allow(); ? Would save tons of time and be better in performance.
Cheers, Faifas On Mon, Feb 23, 2009 at 00:49, brian <bally.z...@gmail.com> wrote: > > On Sun, Feb 22, 2009 at 1:26 PM, motoq88 <moto...@gmail.com> wrote: >> >> hi, I am new to cakePHP. >> >> I want to know it is possible to only lock some of features in a page >> and leave other portion of the lage open to public without requiring >> login. > > Display those portions using elements. Check the session to see if the > element should be displayed. > > > > --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---