Older version, I can just put response.title = A(IMG(_src=URL('static', 
'images/my_logo.png'))) in menu.py and it worked on every pages. Thank you 
Anthony

On Saturday, February 20, 2016 at 4:06:09 PM UTC-5, Anthony wrote:
>
> If you are using the default layout.html that comes with the scaffolding 
> app, note that response.title is not used to display anything on the page 
> but is used in the <head> section to set the page title (which is 
> displayed, for example, in the browser tab, as well as in bookmarks).
>
> Anyway, if you want to include something somewhere in the page, you must 
> put it in the view somewhere:
>
> {{=response.title}}
>
> Anthony
>
> On Saturday, February 20, 2016 at 1:59:28 PM UTC-5, rajjm...@gmail.com 
> <javascript:> wrote:
>>
>> Wondering why this don't work in the newest version of web2py (bt3? is 
>> the cause)?
>>
>> response.title = A(IMG(_src=URL('static', 'images/my_logo.png')))
>> response.subtitle = 'Find the blogs you search for'
>>
>> Any work around so it puts a nice heading on the top of the page with key 
>> words inserted
>>
>>
>>

-- 
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/d/optout.

Reply via email to