[web2py] Re: missing response.title and subtitle

2016-04-15 Thread Dave S
On Thursday, April 14, 2016 at 5:36:39 PM UTC-7, Alex Glaros wrote: > > okay, I get itI never changed layout.html until now. > > what font do you use for headers? I used "class = 'header" and it looks > a little plain > > thanks for your help Dave > > Alex > I'm experimenting with tweakin

[web2py] Re: missing response.title and subtitle

2016-04-14 Thread Alex Glaros
okay, I get itI never changed layout.html until now. what font do you use for headers? I used "class = 'header" and it looks a little plain thanks for your help Dave Alex -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source

[web2py] Re: missing response.title and subtitle

2016-04-14 Thread Dave S
On Thursday, April 14, 2016 at 1:43:45 PM UTC-7, Dave S wrote: > > > > On Wednesday, April 13, 2016 at 6:33:23 PM UTC-7, Dave S wrote: > > >> FWIW, my oldest app (created under 2.4.x) did have the >> banner/title/subtitle stuff in layout.html, and not in default/index.html. >> It kept working

[web2py] Re: missing response.title and subtitle

2016-04-14 Thread Dave S
On Wednesday, April 13, 2016 at 6:33:23 PM UTC-7, Dave S wrote: > FWIW, my oldest app (created under 2.4.x) did have the > banner/title/subtitle stuff in layout.html, and not in default/index.html. > It kept working under most updates, so I didn't pay attention, and the > later apps mostly

[web2py] Re: missing response.title and subtitle

2016-04-13 Thread Dave S
On Wednesday, April 13, 2016 at 4:44:27 PM UTC-7, Dave S wrote: > > > > On Wednesday, April 13, 2016 at 3:47:38 PM UTC-7, Alex Glaros wrote: >> >> that works as I expected,but didn't we not have to copy index.html to >> newfunc.html? >> >> we used to just use admin button to "create new view"

[web2py] Re: missing response.title and subtitle

2016-04-13 Thread Dave S
On Wednesday, April 13, 2016 at 3:47:38 PM UTC-7, Alex Glaros wrote: > > that works as I expected,but didn't we not have to copy index.html to > newfunc.html? > > we used to just use admin button to "create new view" and mast header code > was automatically included. I mean we had to have {{

[web2py] Re: missing response.title and subtitle

2016-04-13 Thread Dave S
On Wednesday, April 13, 2016 at 3:47:38 PM UTC-7, Alex Glaros wrote: > > that works as I expected,but didn't we not have to copy index.html to > newfunc.html? > > we used to just use admin button to "create new view" and mast header code > was automatically included. I mean we had to have {{

[web2py] Re: missing response.title and subtitle

2016-04-13 Thread Alex Glaros
that works as I expected,but didn't we not have to copy index.html to newfunc.html? we used to just use admin button to "create new view" and mast header code was automatically included -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2

[web2py] Re: missing response.title and subtitle

2016-04-13 Thread Dave S
On Wednesday, April 13, 2016 at 3:30:07 PM UTC-7, Alex Glaros wrote: > > it works for me like that too but can you please try a new function not > named index.html? > > the reason I'm posting is because I get the same behaviour on two > different computers. > > much appreciated! > > Alex > new

[web2py] Re: missing response.title and subtitle

2016-04-13 Thread Alex Glaros
it works for me like that too but can you please try a new function not named index.html? the reason I'm posting is because I get the same behaviour on two different computers. much appreciated! Alex -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.c

[web2py] Re: missing response.title and subtitle

2016-04-13 Thread Dave S
On Wednesday, April 13, 2016 at 2:47:56 PM UTC-7, Alex Glaros wrote: > > forgot to include that to create the new app, use the admin function: > > New simple application > > that's where I see that layout is missing header includers > > thanks > > Alex > I used the button to create mynewapp.

[web2py] Re: missing response.title and subtitle

2016-04-13 Thread Alex Glaros
forgot to include that to create the new app, use the admin function: New simple application that's where I see that layout is missing header includers thanks Alex -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - htt

[web2py] Re: missing response.title and subtitle

2016-04-13 Thread Alex Glaros
hi Dave I know it's in the sample but didn't it used to automatically populate when creating any new function besides index.html? Can you please try creating a new function besides index.html and see if the title/subtitle appear in view automatically (after adding them to the controller of the

[web2py] Re: missing response.title and subtitle

2016-04-13 Thread Dave S
On Wednesday, April 13, 2016 at 1:07:58 PM UTC-7, Alex Glaros wrote: > > Do we have to manually add this to each page now? > > {{block header}} > > > {{if response.title:}} > {{=response.title}} > {{=response.subtitle or ''}} > {{pass}} > >

[web2py] Re: missing response.title and subtitle

2016-04-13 Thread Alex Glaros
Do have to manually add this to each page now? {{block header}} {{if response.title:}} {{=response.title}} {{=response.subtitle or ''}} {{pass}} {{end}} Is not included in layout.html -- Resources: - http://web2py.com - http://web2py.com

[web2py] Re: missing response.title and subtitle

2016-04-13 Thread Alex Glaros
forgot to state: response.title works in index file for me too please try again with a new function thanks Dave Alex -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Repor

[web2py] Re: missing response.title and subtitle

2016-04-13 Thread Dave S
On Wednesday, April 13, 2016 at 12:35:21 PM UTC-7, Alex Glaros wrote: > > Can someone please help me? This is a huge favor > > >- download the very latest Windows binary version from web2py.com >- create the simplest possible app with simplest possible view >- in controller for that v

[web2py] Re: missing response.title and subtitle

2016-04-13 Thread Alex Glaros
Can someone please help me? This is a huge favor - download the very latest Windows binary version from web2py.com - create the simplest possible app with simplest possible view - in controller for that view please add only this basic stuff response.title = T('Bye') response.

[web2py] Re: missing response.title and subtitle

2016-04-13 Thread Anthony
I assume it's a CSS issue, but don't know what the original or new CSS looks like, so difficult to say. Maybe use the browser tools to inspect the CSS properties in both versions and figure out what is different. Anthony On Wednesday, April 13, 2016 at 2:14:54 AM UTC-4, Alex Glaros wrote: > > o

[web2py] Re: missing response.title and subtitle

2016-04-12 Thread Alex Glaros
ooops, meant layout.html, not menu.py anyway, this looks much better (it's in layout.html): {{block header}} {{=response.title or request.application}} {{=response.subtitle or ''}} {{end}} Is there a

[web2py] Re: missing response.title and subtitle

2016-04-12 Thread Alex Glaros
I converted from old template to new so it's a little hard to compare what's different In the new menu.py, I have this {{block header}} {{end}} In the old menu.py I had this {{=response.title or request.

[web2py] Re: missing response.title and subtitle

2016-04-12 Thread Anthony
Check your layout and make sure they are included. If you're using version control (or have some older backups), see if you can search to figure out at what point you removed them. Anthony On Tuesday, April 12, 2016 at 11:11:16 PM UTC-4, Alex Glaros wrote: > > I did something and now response.t