in app controller default.py response.t2_google_search=0 response.t2_sidebar=0
in t2 layout.html {{if response.t2_google_search:}} <div id="search"> .... </div> {{pass}} ... {{if response.t2_sidebar:}} <div id="sidebar"> .... </div> {{pass}} ---------- c/ya, -wj --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---