Sorry, i want to say And in this answer, I would want to suggest something extensions for "view helpers -> menu"
On Jan 8, 2:33 pm, drayco <antrod...@gmail.com> wrote: > Hi, thanks. I understand. > > However, I think, i don't explain my idea well. > > I would want to display or not some pages in menu with code. I > thought, I should do this with this code o something like that > > {{=self.menu(menu)}} > > {{=t2.menu(response.menu)}} > > After, I thought, I should do this more easy with "Membership > Controls" and "Access Controls" but I belive that is only for control > access to records. > > And in this answer, I would want to suggest something pattern for menu > control > > My apologies, if this is a bad idea. > > On Jan 7, 8:59 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > You cannot use access control for menu items inT3. > > If a page has "menu" checked and "public" check is always appears in > > menus. > > If a page has "menu" checked and "public" uncheck it will appear in > > menus only to authenticated users > > If a page has "menu" unchecked then it never appears in menus. > > > You can find example of access control for other functionalities > > inhttp://mdp.cti.depaul.edu/examples/static/t2.pdf > > > Massimo > > > On Jan 7, 7:54 pm, drayco <antrod...@gmail.com> wrote: > > > > Hi, can you give a simple example about group memberships and group > > > based access control int3? > > > > Or how can i show or not some menu/submenu int3? > > > > Can i do this whithout group memberships? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---