I notice that you have simplified the edit pages in OA so a lot of unnecessary options that show up in normal installs don't show up here. I have enabled a few modules like Book and Comments and those options show up on all of the edit pages now. (Allowing Spaces to show up in books doesn't make any sense for example) How would I go about removing these to keep OA simple the way it is when it is installed fresh. Thanks.

Comments

Argus’s picture

What you can do is add those fields in page manager at admin/structure/pages/edit/node_edit. Find you content type and go to the Content section. You can find most fields under the "form" tab.

Next step is to hide the field. You can do that by adding element-invisible as a class for that field.

mpotter’s picture

Status: Active » Closed (fixed)
cgove’s picture

Status: Closed (fixed) » Active
StatusFileSize
new26.67 KB
new9.98 KB
new32.19 KB

Thanks for the tip! I'm having trouble following those directions though. I've attached a few screenshots of what I see. I see the form area where the fields should reside, but node add/edit form doesn't show the individual fields within it. The only option I see here would hide the entire form.

mpotter’s picture

I don't think you are in the right place. As mentioned in #1, go to admin/structure/pages/edit/node_edit. Select the variant for the content type you are trying to change. Then click the Content link to edit the content layout.

Then click the gear icon in one of the regions, like the sidebar and select Add Content. You should see a bunch of widget tabs on the left. Select the "Form Content" category. Now you should see a widget for each field on the node. When you add a field to the sidebar then it will no longer appear in the main node listing. Then you can set the Visibility Rules for the new widget you just added to hide it.

It's also possible that the module you have added doesn't work well with panels. Then, as mentioned in #1 you'll probably need to either write a CSS rule to hide it, or write a custom form_alter code hook to set the #access property of the field to FALSE.

cgove’s picture

Status: Active » Closed (fixed)

Thanks Mike! That makes sense now.