Posted by anrikun on June 26, 2009 at 8:55am
Jump to:
| Project: | Printer, e-mail and PDF versions |
| Version: | 6.x-1.7 |
| Component: | Miscellaneous |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed |
Issue Summary
Is there a way to use Print with Actions and VBO (http://drupal.org/project/views_bulk_operations) so that it is possible to export multiple pages as PDF?
This would be a great feature.
Comments
#1
Ask this question there...
#2
print module is there: http://drupal.org/project/print
#3
The Print module doesn't seem to export either actions or node operations. Therefore, VBO cannot reuse the functionality provided by Print.
Sorry to be playing ping-pong with this issue, but it does belong to the Print module. I cannot encapsulate every bit of functionality provided by each module. For an example of how to write an action, you can refer to actions that are bundled with VBO.
#4
Thanks for the info.. I don't know/use the VBO module so I didn't know what was necessary. Now I know. So the ping-pong was very useful.
When someone n€€d$ it enough or submits a patch I will be willing to implement it..
João
#5
Ok I will try to write a patch as I need this feature. Thanks for your answers to both of you!
#6
Hi all.
Bringing this up again. Any news on this patch ? Could really be usefull. I'm not familiar with VBO and still a Drupal API newbie, but am willing to dive in to help out.
Cheers
#7
I also need this feature. My project calls for:
Are we all asking for the same thing?
#8
subscribing
#9
+1
#10
#0: We solved multi page pdf by using views to render the nodes and by adding the following to our css
div.views-row {page-break-after: always;
}
The view uses a taxonomy to group pages (flag module will work as well) and we added an order field so we can order the pages.
#7: Just use the flag module in combination with views
#11
I would like this as well for users to be able to download their interactive content. And i am willing to pitch in, but also very new, learning PHP (but a long time java programmer).
#12
I am not sure why actions or VBO are needed, but it seems that what a couple of people are asking for can easily be done with views. Just create a view named print_basket or whatever that takes NID as argument in the url and allow multiple arguments. I used the path "p" for a page display to keep it very short.
Example: www.example.com/p/3,5,8
Display fields title and body (in my case all that is needed as I am only printing pages, if you use CCK or custom content types you would need to select the CCK fields to be displayed) in the view. This will produce a page that shows nodes 3,5 and 8 all on one page.
Add printpdf prior to your view URL: www.example.com/printpdf/p/3,5,8
Give it a nice alias.
This works for me to create PDFs from various pages on the site (preconfigured with a nice URL). If you want your users to select what they want to print, you might be able to expose filters to them that allow selection of pages...
Cheers, J.
#13
I'm reviving this...if what you're looking for is a list of nodes in a pdf, then the above solution works just fine. However, we're implementing this module to provide users with a running pdf booklet they can flag pages to as they are on the site, and then click a link to download it. The problem is that you cannot flag a view and do this (or a panels page) because then you would be trying to display a view within a view. Does anyone know an alternative approach to full node view construction for sending multiple pages to the printpdf function? Thanks!