This will help you location of the dir. Location of your dir : drupal_set_message($form_id);    // know the root dir   /** * Implements hook_form_FORM_ID_alter(). */ function demo_form_alter(&$form, &$form_state, $form_id) { // dpm($form); drupal_set_message($form_id);         switch($form_id){ case ‘rooms_booking_availability_search_form’:   // name of the root form_id   //using the devel to … Continue reading

To test the txt location of your block or code use this code :   drupal_set_message(‘test’); After you have seen your code location you can then delete. Syntax function demo_form_alter(&$form, &$form_state, $form_id) { dpm($form);   drupal_set_message(‘test’); } Remember the code: drupal_set_message(‘test’);   dpm($form);    allocate the devel of your coding