I have created wiki page named "Sidebar", then
using {{=auth.wiki('Sidebar')}} inserted it in default/index.html. On wiki
pages it looks ok but on service pages (_edit, _editmedia, _search...) i
get following in place of desired sidebar.
{'content': <gluon.html.DIV object at 0x06458790>} - On _editmedia
{'content': <gluon.html.__tag_div__ object at 0x05E8A810>} - On _edit
I have followed instructions in web2py_manual_5th.pdf.
So my controler returns auth.wiki()
and my view looks like this
{{extend 'layout.html'}}
<table>
<tr>
<td width="20%">
{{=auth.wiki('_search')}} <br/>
{{=auth.wiki('sidebar')}} <br/>
</td>
<td width="80%">{{=content}}</td>
</tr>
</table>
Also I have tried inserting it in layout.html. But the same error arises.
I am not sure whether this is my mistake or error in web2py.
--
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/groups/opt_out.