First thing- it is SO annoying that the url at the top of the handbook pages stays the same as you click around. So I can't paste the url directly to the page I'm talking about here.

So...

Go here:

http://drupal.org/node/71964

The click on Step number 04 in the left navigation. That's the page I'm talking about. (And notice the url doesn't change when you click.)

On that page it says

"If you have other modules and permissions set for this user, your user will also see the other form fields. These might include input formats, file attachments, comment settings, menu or path settings, publishing options and authoring information.

We'll adjust these later in the form editing process, removing what we don't need."

But it doesn't show how to do that later, that I could find. How do I do that?

Comments

pwolanin’s picture

The URLs change for me at each step- what browser are you using?

04: http://drupal.org/node/71959

as far as "We'll adjust these later in the form editing process, removing what we don't need."

I'm not sure what the sentence refers to- you can hide (deny access to) form fields in 5.x by adding the '#access' element to each, but usually you don't mess with the fields other modules are adding (like taxonomy or upload).

---
Work: BioRAFT

Rotwang’s picture

But those other default fields are extraneous, why confuse the user?

I only want to remove the my custom node type. I can do that with #access?

pwolanin’s picture

Those fields won't show up unless the user has extra permissions, or you enable the options for your node type 9for example, taxonomy or upload). Do you have your node type working and see some form element you don't want?

---
Work: BioRAFT

Rotwang’s picture

My node type is working great, yea. I don't want any of that extra stuff like File attachments, comment settings, etc. I just want my form elements only.

I still want the user to be able to see those other sections for OTHER node types, just not my custom node type.