Will there be a port to drupal 7 anytime soon?

Such a great module - especially with email on the way :)

Comments

lefnire’s picture

There will be a d7 version for sure. Aint no #D7CX, but it should happen fairly soon after 7 releases

lefnire’s picture

Priority: Normal » Minor

I'm gonna hit this after I pan out all the other big issues

bjalford’s picture

any updates on this?

wizonesolutions’s picture

Title: port for drupal 7? » Port to Drupal 7
Component: Miscellaneous » Code
Category: feature » task
Priority: Minor » Normal
Issue tags: +drupal 7 port

Can't make any big promises yet, but some time after Drupal 7 releases should be feasible...and it's releasing soon. I'm going to a couple Drupal meetups, and we'll obviously be talking about Drupal 7. I will see if I can somehow work the 7.x port of this module into that, or at least get it started.

Of course, anyone is welcome to post one, even if you just blindly run it through Coder Upgrade. This might be enough for someone else (or me) to go in, fix it up, and bam, Drupal 7.

Just be sure to update the issue queue if you are doing that as not to double up on work.

Thanks for checking in.

manimejia’s picture

I'd like to help with this.

I am building an application in D7, for a human services agency that has specific document formats for government reporting.
We need this functionality by next month to start building out our forms.
I'd like to stay with a Drupal based solution...

I'm an experienced Drupal developer, and have been programming exclusively in D7 for 9 months.
I have only just downloaded this module, but am ready to step with two feet and help.

First thing first, I will explore the module and look into the Coder Upgrade solution mentioned above...
Anything else?

Thanks,
M.M.

wizonesolutions’s picture

Hey manimejia,

I actually already ran it through Coder Upgrade. I will try to put on the final polish today (it's nearly there) and release a 7.x dev version. I would love to have your help testing it when I do so we can get an official release out ASAP. How does that sound?

Just don't want you to repeat work I've already done...

wizonesolutions’s picture

OK, I just published a development version for 7.x...we'll have to wait a little while till it updates. Once it does, the main things to do are:

1. Actually test it. I just worked on the code but didn't try turning it on as I didn't have time.
2. Write an update hook from 6.x to 7.x. I stubbed one out.
3. Ensure all three PDF publishing methods work. They should, since they aren't dependent on Drupal version, but I'm not sure if there have been XML-RPC changes that might break some of the code.

Please submit proper patches for any changes you make. http://drupal.org/patch/create

manimejia’s picture

Thanks W!

Thanks for getting an initial release out!
I just returned to this issue after a few days on other parts of my application. As mentioned, we want this feature next month, and I am willing to help get it ready. I will be working between this issue and the zillions of others on my plate in the next few weeks, so I apologize right now if sometimes I am AOL for a few days.

Anyhoo,
I will download your D7 dev and test it this week.

M.M.

wizonesolutions’s picture

Sounds good. I actually realized that no upgrade-specific update hook is needed because I didn't need to change the database format. So really just making sure it actually works and that the PDF publishing methods work. If it functions then I can make an official release.

Take your time. Your help is highly appreciated!

wizonesolutions’s picture

Note that I've been working on this and will be posting a big patch here with the rest of it. I realized that making individual issues for each code upgrade issue would take way too long and discourage me from actually committing the code, and it wouldn't contribute much to the average person searching the issue queue either.

The tokens/fields in core issue is still valid on its own, so I'm leaving that one open.

markabur’s picture

Looking forward to seeing the new 7.x version, I have a new project starting up that will need fillpdf, and it might be nice to build it in d7.

usctrojan77’s picture

Title: Port to Drupal 7 » FillPDFService java source code
Version: 6.x-1.x-dev » 6.x-1.9
Issue tags: -drupal 7 port +fill pdf java code

I have to insert JavaScript into the PDF as per requirement of my project. For that I will need the FillpdfService.java source file so that I can add some iText code for that. Can someone having access to that source code please post the file?
It will be of great assistance in my project.
Thank you

markabur’s picture

Title: FillPDFService java source code » Port to Drupal 7
Version: 6.x-1.9 » 7.x-1.x-dev
Issue tags: -fill pdf java code

Changing issue title back as there is now a separate issue for that last request. #1068546: FillPDFService java source code

wizonesolutions’s picture

Drum roll please.

Thanks for your patience everyone. I've finally completed a working version of Fill PDF 7.x. As far as I can see, it works just as well as 6.x. I'm going to go ahead and create a 1.0-beta official release so that this can get some user testing. As far as I can see, it works. Webform tokens haven't been migrated to Drupal 7 yet - if someone wants to do that, please do so! Otherwise, I will once I have had time to look over the code and see how it works.

The relatively big patch that made all this possible is attached. I'm pushing ASAP, so check the dev release in 12 or fewer hours. And keep an eye out for the official release.

wizonesolutions’s picture

Version: 7.x-1.x-dev » 7.x-1.0-beta1
Status: Active » Fixed

Pushed and release made. Log individual issues separately now.

wizonesolutions’s picture

Missed a call to token_replace(), patch attached. Ironic because Webform filling doesn't work too well right now, but might as well fix this now.

You guys want to fill PDFs with data from Webforms soon? Speak up :)

wizonesolutions’s picture

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

Status: Fixed » Closed (fixed)

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

  • Commit 3355da2 on 7.x-1.x, 7.x-2.x, 7.x-2.x-tests1, 7.x-1.x-ubercartbackporttest by wizonesolutions:
    [#841502 wizonesolutions] Initial Drupal 7 port. Thanks Coder Upgrade.
    
    
  • Commit db2a7fa on 7.x-1.x, 7.x-2.x, 7.x-2.x-tests1, 7.x-1.x-ubercartbackporttest by wizonesolutions:
    Issue #841502 by wizonesolutions: Finish functional Drupal 7 port.