By steven1350 on
When a user goes to create content, there are several minimized menus at the bottom of the page such "Comment Settings", "Publishing Options", etc...
How can I make one of these expanded by default?
When a user goes to create content, there are several minimized menus at the bottom of the page such "Comment Settings", "Publishing Options", etc...
How can I make one of these expanded by default?
Comments
=-=
investigate hook_form_alter, which may allow you to do this. It would then have to go into a custom.module I believe.
.
I dont understand. what do you mean?
=-=
read api.drupal.org
to alter the way forms are handled in drupal core you will want to read about hook_form_alter. you can also search here on drupal.org and use google as this is the most common way to alter the way forms work in drupal.
There is no "switch" or "setting" to control this in the administration area. some php will have to be added/altered to do what you ask AFAIK.
:)
Thanks, I am getting the picture of how that function works.
Would you happen to know off hand what property makes a form minimized/maximized?
There isnt much documentation on that feature
=-=
something similar to collapsed = true some more checking into how other modules expose this may be fruitful. I learn more from working with other's work in most cases.
.
I think I can do this, but a question first
Do you know the field name for publishing options?