By wposey on
Maybe I am missing something simple, but I thought there was an easy way to make a link on the output of a views pages (specifically the user list page that comes with views by default)...
How can I simply add a "Printer Friendly" image/text link to my view....and have it only print out the data? (and not the rest of my web page and theme)
Thanks!
Comments
Have you seen print.module?
Have you seen print.module? http://drupal.org/project/print
yes, i have it installed.
yes, i have it installed. But i can't find the option for it to work in the view configuration
I've not used it for a
I've not used it for a while, but I guess it wouldn't integrate directly with Views in this way. Doesn't it add links to pages? Wouldn't it then add the links to a page produced by Views?
I'm guessing here, though, so I'd welcome an opinion from someone who uses the module regularly.
bump
bump
ttt
ttt
ttt
ttt
Please stop bumping this
Please stop bumping this thread. If someone can help you, they will.
Have you tried my suggestion above, regarding creating a view as a page? Does that add the printer-friendly link that you need?
No I have tried that and I
No I have tried that and I do not see an option for it?
In fact the view is already
In fact the view is already displayed as a page .... "Display the view as a page, with a URL and menu links. "
Have you tried following FAQ
Have you tried following FAQ #7 for printer friendly module....#190173: Print: 5. Frequently Asked Questions and putting link in your page view header or footer? Set the input format to php.
I've had to work out to do
I've had to work out to do this for one of my sites. There's an issue in the issue queue for the standard print module at http://drupal.org/node/341686.
It turns out that if you've got a page on your site (including a view) with path path/to/my/page then going to the page with path print/path/to/my/page will provide a printable version of that page.
works for calendar, how to do same for taxonomies?
Yes it works to put a header in the calendar page that says
<a href="/print/calendar">Printer-friendly calendar<br /></a>but then how can you do the same for a taxonomy view page that has a token tid for each term?
Printer friendly php for view header
Put this in the Header of the view for which you wish to have a "printer friendly" link.
print '<a href="/print'. $_SERVER['REQUEST_URI'] .'">Printer-friendly<br /></a>';Try this
There is a solution to this problem described here: http://drupal.org/node/81361 (see comment section). The poster originally wanted a solution to placing the print-friendly text on a calendar view, but the solution should work with any custom view.
Its in Print configuration!
Hello,
You can do it by following these steps..Worked for me.
1. Download the Print module.Here is the link https://drupal.org/project/print
2. Enable the module and navigate to admin/config/user-interface/print in your drupal site
3. Enter the View URL under 'Show link in system (non-content) pages > Show on only the listed pages.'
4. Save configuration
5. Provide permission to access printer-friendly pages in 'admin/people/permissions > Printer-friendly pages'
6. Visit your View and you will find the link to create a printer friendly version of it.