By default, Drupal allows only users with the Administer nodes and view/reset/delete revision permission to add, reset and delete node revisions of all content type.
Node revision Permissions Per Role allows to give roles administer per content type node revision permissions without giving them full administer nodes permission.
For instance, you may let certain users(eg: roles:External-blogger ) manage node revision of a specific content type(eg: blog) but restrict to manage node revision of all other content type that this module is perfectly works for you.
I found a way when using Facebook OAuth (FBOAuth) module is used to connect with facebook account. Sometimes after the connect you might need to redirect to custom page then you can simple do it though adding destination parameter in link in theme function by overriding in your own template.php file.
Drupal form_set_error() function provide validation message based field name. So if you have same field name in same page , after the submission you can see both fields are marked as red color(Error class). It validate or show message for right form but it provide error class for all element which are same.
I found a way to solve it. If you render those form using drupal_get_form then you can add one extra line in top to get rid of this problem.
With Drupal 7 there is now the search API. Apart from the existing database (that uses the same DB as drupal to index with) and Solr integration there are a few other backend options available too. As the open source community is quite prolific, a few supporting modules to allow fuzzy searching, multi index searching, saved searches, autocompletion, attachment indexing and more have sprung up. See the Search API project page for more detail.
Here's how we set up the database indexing:
This tutorial will help you to know how you can create custom search page in drupal 7 easily. It will explain you with code snippet to explain each part the process you need.
1. Create menu items in your hook_menu().
I used Drupal simplenews to send newsletter to all the memebers of my site. It was a real hell of life. It takes thousands of my hours to spend to fix the template but I cant. because it was not a probelm in simplenews.
I used mimemail which create all those problem for me. Mimemail add the site css file in mail body autometically and it does not work that inline css of newsletter in Outlook when you sending newsletter from Drupal system.
Then i found a solution which guide me in the below link:
Multiple step form which consists of multiple steps or pages is useful sometimes. It allows you to create a form workflow and helps to make your web site user-friendly and flexible. For example, you can make different contents on next pages based on user inputs from previous pages.
The key things to make a form multiple pages are setting $form_state[‘rebuild’] and $form_state[‘storage’] variables in a submit function.