print view link

Author Message

risto CMS user

Tuesday 28 February 2006 11:58:08 pm

I have a site where I need to make use of print view.

My question is this.

How can I in a template make use of the link:

 <a href="{concat("/index.php/layout/set/print/content/view/full/",$node.node_id,"/")}">print view </a>

without it beeing displayed in the print version?

Sergiy Pushchin

Thursday 02 March 2006 2:45:21 pm

If I understand you correctly you should not have this link in your print_pagelayout.tpl, or do you have this link not in pagelayout but in override for full node view?

Siniša Šehović

Sunday 05 March 2006 5:27:22 am

Hi risto,

You could use css to hide link on print page.

Just create css file with:

a {
display: none;
}

and include that file like:

<LINK rel="stylesheet" media="print" href="YOUR_FILE.CSS" type="text/css">

Notice that media="print". Media can be "screen" or "print".

That will do the trick :-)

S.

---
If at first you don't succeed, look in the trash for the instructions.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.