I believe I've seen the answer to this before, but I can't find it.

1. How does one change the layout from the controller?  Is the best
way to open the view file and write to it a new {{extend
'mylayout.html'}}  as in the new layout plugin ?

2. Is there a way of including a variable inside {{brackets}} in the
view?
I mean if one could put something like {{extend =mylayout}} in the
view,  it would be easy.  Sorry if that's a naive question!

Thanks,  David
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to