0

I'm new to Drupal, so sorry for this maybe simple question.

I'd like to create some kind of content-type, which a user can "create" and fill the forms, but instead of just saving the content to the database, i want Drupal to pass the values to a 3rd party software (which can be accessed by socket-communication), wich renders PDF's from the text the user entered.

The PDF should be displayed to the user after Form submission.

I know, i can use Drupal to render PDFs, but i want to connect to our legacy 3rd Party software.

So the question is: How and where can i hook-in to write my custom 3rd-Party socket-communication-phpcode and display the result to the user (or save it to drupal db, or, or, )?!

Thanks in advance!

1 Answer 1

1
  1. Create your form by using the drupa FAPI.
  2. Set-up a path to your form using hook_menu.
  3. Call your custom communicatin code from your FAPI submit handler.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.