Hi, I wonder how can i put the send by email form in a block.?

Comments

jcnventura’s picture

Status: Active » Postponed (maintainer needs more info)

The form for this module is a little too big for a block. There are other simpler modules, which don't have so may options to fill in the e-mail form which might be more appropriate to your needs.

jcnventura’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

No further info in two weeks. Closing the issue.

Izz ad-Din’s picture

Status: Closed (fixed) » Active

Actually, if you print out the form below your node body and comment, it will fit quite well on most sites.

However, I am still figuring out how to do this. Drupal_get_form doesn't seem to do the trick. The following attempts did noy succeed:

function mailTo() {
	return drupal_get_form('edit-print-mail-form');
}
function mailTo() {
	return drupal_get_form('print-mail-form');
}
function mailTo() {
	return drupal_get_form('print_mail_form');
}

Any ideas?

Izz ad-Din’s picture

Category: feature » support
jcnventura’s picture

Status: Active » Postponed (maintainer needs more info)

The print_mail_form() function is in the print_mail/print_mail.inc which is only loaded on request by the print_mail module. If you want to call it directly from your nodes, you'll have to include the file manually.

jcnventura’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

No further info in more than two weeks. Closing the issue.