I have created wiki page named "Sidebar" and using auth.wiki('Sidebar') I 
want to insert it as sidebar on website. When viewing page it looks ok, but 
on service pages I get following in place of sidebar.

{'content': <gluon.html.__tag_div__ object at 0x05E8A810>} 

I have followed 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 tried it in layout.html but I get the sam error.

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to