Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

How to change site wide validation required maker, Drupal 7

The below code will help you to to change the site wide validation required marker as well the hover text. Though there are various approach you can do but this is one of the massively used approach. Go to Drupal Root Folder->includes-&...

What is available by default if you forget to declare in .info file, Durpal 7 Theme

Regions If you did not mentioned any custom region in .info file the following regoins will be available by default. Header Highlighted Help Content Sidebar first Sidebar second Footer features The .info file is also u...

How to Enable anf disable regions in theme .info file

by placing and removing semicolon(;) in front of line we enable and disable regions in theme .info file REGIONS - ENABLED regions[page_top] = Page Top regions[header] = Header regions[highlighted] = Highlighted REGIONS - DISABLED ...

Drupal Views Related Top 10 Modules

Drupal Views Related Top 10 Modules Views Bulk Operations (VBO) Allow bulk operations to be run on the displayed rows Views Table Highlighter Aloow to highlight certain views table rows based on PHP code Better...

Display node form in a different page of in a block

Sometimes we need to display our node form in some other pages or simply in a block of front page. Here is the code snippet which can render our node form in any block or any other page: for a page: module_load_include('inc', 'node', 'n...

Custom redirection in drupal 7

Hello All, From the given blog below you will get to know about redirection of any form after submission or custom $form_state['redirect] in drupal 7:- First you need to override form_alter by usind drupal hook function hook_form_alter. To...

Configure and customize leaflet map in Drupal 7

Hi, Leaflet module provides a javascript library for mapping leaflet map into Drupal and can be downloaded from https://drupal.org/project/leaflet We can initialize map from our custom module as follow: $map_info = leaflet_map)get_info('...

Create new html tag in Drupal

Sometimes we need to use some unique tags which are not available in HTML. For this we can just use these tags in our html coding, but in some specific cases our browser will not display them because these are not identified and comes within "<...

Get group id and check membership from node id in Drupal 6

We can get group information and also can check membership in that group from current logged in user, using following code: $gidarray = array_keys($node->og_groups); $gid = $gidarray[0]; global $user; if(og_is_group_member($gid, true, $u...

Add placeholder in Drupal form api fields

Hi all, Sometimes we need to add placeholder in our form fields but it get little bit complex when it comes to form api under Drupal CMS. There is no hard coded form fields in drupal (In case of content and comment forms), everything is com...
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: