# Append one or more additional menu items to reponse.menu using +=

if auth.is_logged_in():
    response.menu+= [    
    (T('user menu'), False, URL('members','index'),
   )]  

# Create an additional response.menu and add a menu to a view using Annets 
code

if auth.is_logged_in():
    response.menu_users= [    
    (T('user menu'), False, URL('members','index'),
   )] 

# In either case the above code should probably work for you in your apps 
menu.py

Reply via email to