Is it possible to have two menu.py files in models that associate with 
response.menu?
I wanted to have an index file that has something like this,

{{extend 'layout.html}}
{{include layout.other.html}}
{{include  dashboard.html}}

where layout.other.html has the menu2 for the dashboard.  Is it possible to 
associate
a second file, menu2.py with response.render and layout.other.html and how 
would one
set this up?  I've tried tinkering but get errors with response.write.
Maybe it goes against the web2py structure and another setup should be 
used? I wanted
both menus available on whatever page is loaded.

thanks,

Margaret

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to