Page 1 of 1

Check if printingpage [solved]

Posted: Fri Sep 28, 2012 9:18 pm
by janvl
Hi

when one prints a page with the print-icon then the url shows
index.php?mact=CMSPrinting . . . . a lot more

Is there a way to influence what shows on the printing-page with something like:

{if mact=CMSPrinting}
show something bigger
{/if}

Kind regards,
Jan

Re: Check if printingpage

Posted: Fri Sep 28, 2012 9:21 pm
by Jos
{get_template_vars} might show you some variable you can use

Re: Check if printingpage

Posted: Fri Sep 28, 2012 10:02 pm
by Rolf
Print stylesheet?

Re: Check if printingpage

Posted: Fri Sep 28, 2012 10:07 pm
by janvl
Hi Jos

I did not think of "misusing" a set template variable.
On the normal page is a shoppingcart, not on the printpage.

So I used {if isset(Cart)}
and it is working

based on this, a qrcode is small on the normal page and 3x larger on the printingpage.

I love the flexibility of CMSMS!

Kind regards,
Jan