lordg
  • Member for 10 years, 10 months
  • Last seen more than 7 years ago
How to expand the fieldsets in node-add form?
4 votes

I believe you have one of two options... In Code: Have a look at hook_form_alter() and modify the applicable field groups to be $form['the_form_fieldset']['#collapsed'] = FALSE; In UI: Modify the CCK ...

View answer
Node form redirect based on submit button value
Accepted answer
4 votes

The answer was to attach my submit handler to the submit button rather than the form, and then the $form_state['redirect'] would work as needed.

View answer
How do I allow users to determine which other users can edit their content?
Accepted answer
3 votes

Node access user reference worked for me, and was quite easy to use from the users perspective.

View answer
IMCE image upload and permissions issue
2 votes

The real issue is file permissions. When PHP uploads a file, it saves it in the temp directory. When that file then gets moved it retains the file permissions from the temp directory and does not ...

View answer
Problem with cURL
Accepted answer
1 votes

The answer was that Drupal changes the & in a querystring to & and the remote API service only processed the argument separator & and not &amp. So naturally, when it splits the ...

View answer
How to make a Feature available only to certain Spaces?
1 votes

I'd add to this hook_perm suggestion an alteration on the form to disable the applicable feature based on the group type. hook_form_alter probably wont work cause the feature related items won't be ...

View answer
"Enterprise" authentication, single sign-on and user provisioning for multiple sites
0 votes

Have a look at multisite_login, it should help you get to what you are looking for. I haven't used it myself yet, but the description appears to fit quite well. You could contact that maintainer to ...

View answer