Drupal 7 Skills

Question 1: Can’t overwrite or delete settings.php It’s a smart security setting of drupal You need to add permissions to write not only the settings file but also the folder where it is. Don’t forget to put the permissions back… Read moreDrupal 7 Skills

How to remove meta name=”Generator” of Drupal 7?

Edit includes/common.inc. removed these three lines by putting // // ‘name’ => ‘Generator’, // ‘content’ => ‘Drupal ‘ . $version . ‘ (http://drupal.org)’, // $elements[‘system_meta_generator’][‘#attached’][‘drupal_add_http_header’][] = array(‘X-Generator’, $elements[‘system_meta_generator’][‘#attributes’][‘content’]);

Useful Drupal Skills

How to show a block only at front page or homepage? 1. Go to Administration » Structure; 2. Click ‘Add block’, and fill in “Add block”, and your code at “Add block”; 3. Under “Show block on specific pages”, Click… Read moreUseful Drupal Skills