hello one in all,
in the layout.html file i would like to change the {{block right_sidebar}}
section a bit. basically, if right_sidebar_enabled is True, but the block
is empty in the view, then default to some text, but if the block is not
empty then display that text. i was thinking something like
if response.right_sidebar:
was correct, but it excepts out. thanx in advance, lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
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 [email protected].
For more options, visit https://groups.google.com/d/optout.