Blog

Posted by: 
Dominique De Cooman

By creating a file in the root of your drupal folder and put the code on top that we provide in this post.

Posted by: 
Dominique De Cooman

Is this happening to you when you're using the image module trying to submit an image node? Than the problem is probably the workflow module. Those two modules conflict with each other especially when a state is changed from published to unpublished. Turn off your workflow module and you'll see the problem disappear.

Posted by: 
Dominique De Cooman

This makes sure all your content is filtered the way it's supposed to.

Posted by: 
Dominique De Cooman

Go to the location on your server where your file is using cd command

Posted by: 
Dominique De Cooman

Use the old drupal_set_title('') function to set the title and put it in hook_form_alter. Why in a hook_form_alter? If you do it in preprocess page your 're to late, if you want it to do with drupal_set_title(). But what you can do in the preprocess page is set $vars['title'] (thanks to Davy aka the drupalcoder to point this out). Using hook form_alter has the advantage that it's independent of the theme.

Posted by: 
Dominique De Cooman

We're providing an example that restricts access for an admin of an organic group to his own profile.

Pages

Subscribe to Blog