This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Forms and PDF generation

Background

Here is my situation: I need to create forms that integrate with PDFs. Namely having some means of converting the submitted data. I haven't decided how to do this as yet. What I would like to know is if anyone has worked with forms + PDFs in Drupal 5.

Here is the workflow I would like to create. The site will have PDF forms as downloads and I would like to have an option for users to submit their information using a HTML form as well. The submitted information should be available as CSV and PDF for site admins. A notification emails should also be sent when a form is submitted. The forms will be mostly loan applications.

I would also like to provide a link to a PDF with the submitted data. This PDF should closely resemble the one they would have downloaded and printed. The download should be a one time thing, if possible, since some of the information may be sensitive. I'm more than willing to limited PDF downloads to the admins.

Prior Art

SQL query help needed

I have a vocabulary named Regions and a vocabulary named Genres. I have a CCK content type named Bookstores. Bookstores are categorized by Regions and Genres. I need to query the database by giving it the Region, and have it return a list of all the Genres for all bookstores in that Region. I don't need to list the Bookstores along with the Genres. I've gotten this far:

SQL query help needed

I need to create a query which does the following:

Given term_data.name (in vocabulary 1), use term_data.tid to retrieve term_node.nid, then use term_node.nid to get the tid of all other terms in term_node.nid who are attached to the same term_node.nid, then use all of the retrieved term_node.tids to get all of the term_data.names who are in vocabulary 2.

For example:

I have a vocabulary named Regions(vid=1), and a Vocabulary named Genres(vid=2). I classify my content_type_bookstore nodes by Region and Genre. So Bob's Used Books is in Burnaby (term_data.name=burnaby, term_data.tid=10, term_data.vid=1) and is genre Science Fiction (term_data.name=scifi, term_data.tid=20, term_data.vid=2)

I have a vocabulary named Regions and a vocabulary named Genres. I have a CCK content type named Bookstores. Bookstores are categorized by Regions and Genres. I need to query the database by giving it the Region, and have it return a list of all the Genres for all bookstores in that Region. I don't need to list the Bookstores along with the Genres. I've gotten this far:

SELECT DISTINCT term_data.name FROM (term_data INNER JOIN term_node ON term_data.tid = term_node.tid) INNER JOIN content_type_restaurant ON content_type_restaurant.nid = term_node.nid WHERE term_data.vid = 2 
(term_data.vid=2 is "Genres")

Share URL and Embed Image fields?

Hello Everyone,

this is my first time posting on the drupal site, so please be gentle.

:)

Drupal and MediaWiki Integration

I would really like to have full integration of mediaWiki on my drupal site. Basically, I would like shared user tables, or at least synced user tables, so that when a user on my site logs into drupal, then clicks on the wiki link, he will automatically be logged into the wiki. There is a very old post from January of 2006 for this with drupal 4.7, but I'm using 5.x.

LDAP Side Effect

Hello,

I use rc_mail module with ldap_integration. LDAP works fine, and rc_mail work fine also when it's alone. But when I add LDAP, the login in rc_mail fails !

To reproduce the bug here is what I do :

let's assume that the user account already exists
I log a first time. I go to the user parameter and type the rc_mail password.
I can go without problem into the rc_mail module. The rc_mail login process works fine !
But then, if I log out, and log in again... i cannot go to the rc_mail without typing again my password in the user parameter.

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions