Hi,

There's no way to remove the Print options from the content submission form. I think admins should have an option to exclude print options from the node add/edit forms.

I'd imagine this would be important for sites which have a large end-user base and which try to keep the conent submission interface as minimalist and clean as possible.

Comments

sephie’s picture

This is a problem for me too. I am using the Form API to override a form for adding nodes of a custom content type. Unsetting the relevant array element for the printer friendly label doesn't work as it does with other form labels. I don't want the public to see this label, as it's confusing and they shouldn't be allowed to choose printer-friendly options for content they generate anyway. Any temporary workaround for this?

sephie’s picture

Actually, I found my own workaround in case this helps anyone. Assuming you are creating a custom form, you will have your form id. So just go into the .module file for each aspect of this module you have enabled (print, email, PDF - there is a .module for each) and edit the _form_alter function to execute it's logic only in cases where $form_id != "your_form_id"

jcnventura’s picture

The right solution is to check for the "admin print*" permissions in the form_alter() functions in each .module file. I will do this change soon, once I have some time to implement it and test it.

João

jcnventura’s picture

Status: Active » Postponed (maintainer needs more info)

Forget my previous comment.

This should not be happening if your users don't have the "node-specific print configuration" permission.

João

jcnventura’s picture

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

No further info in two weeks. Closing the issue.

kenorb’s picture