I am currently on developing a Views PDF module for Drupal 7.x. At the moment it is not clear, when I am finished with this.

The progress can be seen on the commit log or here in this issue.

CommentFileSizeAuthor
#21 1119124-drupal_7_support.patch9.53 KBh3rj4n

Comments

latulipeblanche’s picture

Do you know when you will finish the D7 version ? I would like to use your module with the views of Drupal Commerce.

hunziker’s picture

Sorry at the moment it is not clear, because there are some problems:

  • New Grouping (SQL: group by) feature is added. This should be considered in the module.
  • Some internals of the views has changed.

So before I dont clear this things, I cant give you a valid estimate.

latulipeblanche’s picture

Ok, no problem.
Everything is moving so quickly ....
I'll look for another solution for the moment.
Good luck.

hunziker’s picture

I commit a first working version for Drupal 7 in a new branche (7.x-1.x). At the moment there are the following issues:

  • Table style: Loading problem. Perhaps some problems with the font caching.
  • PDF Templates: Stored by default in the public domain. This should be moved to the private domain.
  • The file upload wont work.

There are some warnings. I have not test yet all features of the module in Drupal 7, so there can be more problems.

BenK’s picture

Subscribing...

mdshields’s picture

Version: » 7.x-1.x-dev

how do we use this module with Drupal 7.X. Even a simple example that doesn't leverage everything. There is absolutely no integration of the dependencies nor documentation even on configure/install. I guess people using this module are assumed to know how to use Drupal Views? If you are a Drupal Views expert, then this stuff is easy?

Anonymous’s picture

Hi all

For me this should be awesome

I am testing with views dev and no luck

Fatal error: Call to a member function get_option() on a non-object in /home2/raduungu/public_html/galileu/sites/all/modules/views/includes/admin.inc on line 1063

Best regards
ArchGalileu

hunziker’s picture

@ArchGalileu: There is a reason why this version is a "dev" version, there are some bugs in the module. Im at the upgrading the module to Drupal 7.x.

Examples:
Look at the Drupal 6.x examples. At the moment not all of this examples are possible, because some of the submodules are not transformed to Drupal 7.x.

Anonymous’s picture

Hi hunziker

Thanks, i will wait and test.

Best regards
ArchGalileu

mdshields’s picture

I have to develop something now in Drupal 7 to generate a PDF. So, I can help you guys or I can do it on my own. Either way, gonna take me the same amount of time.

I've been testing directly with TCPDF examples and embedding them into Drupal. It will at least fulfill the one requirement I have to work with.

If you could just give me some examples that I can test your module with Drupal 7, whether it works or not outright, if I get a rough outline of what to do from this module, then I can at least push through.

I am very clear on views and how they work. What I am not clear is how to build a simple example with this module tied to views.

hunziker’s picture

Simple Example:

  1. Create a view
  2. Add some content to the view
  3. Add PDF Display
  4. Add path to display
  5. Open the path
good_man’s picture

subscribing

hunziker’s picture

I commit a new version of Views PDF for Drupal 7. Now the views_append, views_view_field sub module are also available. I resolve some problems in the main module. Its more or less the same version as 6.x-1.0-beta2 version. Most of the above mentioned problems should be resolved.

The mimemail integration doesn't work. Perhaps I will throw this away and write my own mail function for rules, because the integration of rules and mimemail is really ugly. (It's hard to extend!)

wwiras’s picture

Status: Closed (fixed) » Needs work

Subscribing

bofrost’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

tommychris’s picture

Is there any new info about sending pdf as an email attachement?

bofrost’s picture

Hi Tommy,

what do you mean with:

Is there any new info about sending pdf as an email attachement?

It works fine... I use for that the modules: rules, mime mail and views_pdf (Please open a new Issue if you still need an advise.)

webroru’s picture

venkirs’s picture

Title: Views PDF for Drupal 7.x » PDF for Drupal 7.x
Project: Views PDF » dompdf
Version: 7.x-1.x-dev » 6.x-1.x-dev
Assigned: hunziker » Unassigned
Category: feature » task
Priority: Normal » Major

While i am trying to print pdf with using dompdf i am not able to configure the database result ..

h3rj4n’s picture

StatusFileSize
new9.53 KB

I rewrote this module so that it's compatible with Drupal 7. It's only a start.

What works:

  • Export to PDF

What is (not yet) converted:

  • Views support

There are several featues that could be implemented in this module like #1078868: more flexible API to be able to save files.

The big flaw in dompdf is an export with a huge table in it. That's what I need at this moment so I'm not going to develop this module further.

h3rj4n’s picture

Status: Needs work » Needs review
arshadsahjavi’s picture

Title: PDF for Drupal 7.x » Views Drupal 7.x tutorials in pdf fromate
Project: dompdf » Pdfview
Version: 6.x-1.x-dev » master
Component: Code » Documentation
Assigned: Unassigned » arshadsahjavi
Category: task » feature

Views Drupal 7.x tutorials in pdf fromate