Hello, I need to built a left sidebar from a database. In the main layout file I have the following code: ........................................ ........................................ <div class="unit"> <div class="container"> {{include 'default/leftsidebar.html'}} </div> </div>
The problem is how I can built the leftsidebar. After reading chapter 5 in the web2py book is not clear to me. It is possible to make a controller, reading the database inside that controller and pass the result to the leftsidebar.html view??? Thanks in advance -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.