Hi,

I have a lot of views in my system with the following code at the top
of the view html:

{{import string}}

{{if request.vars and 'printMode' in request.vars:}}
{{printMode=request.vars['printMode']}}
{{else:}}
{{printMode=None}}
{{pass}}

{{if printMode:}}
{{extend 'layoutPrint.html'}}
{{else:}}
{{extend 'layout.html'}}
{{pass}}

... the rest of the layout HTML etc.

In version 1.79.1 it worked fine. If there was no printMode var in the
query string, I got the standard layout. If there was a PrintMode var,
I got a simpler layout without the headers, menus etc. for printing..

In 1.82.1 it doesn't work at all. It looks like neither layout is
invoked and all my pages look terrible with no formatting (because no
CSS) at all.

Any suggestions (or I'll ave to regress back to 1.79.1). :O(

Reply via email to