Make a Webform available as a block in Drupal 7

Making Drupal Webforms available on blocks on Drupal 7 is something you’d think would be simple but it’s buried away among all the Drupal options.

When you create a new Webform, you will see a set of tabs up the top.

Next to [View], [Edit] there should be a [Webform] tab.

Click that and go to > [Form Settings] > [Advanced Settings] and select ‘ Available as block‘ option.

This will make the form show up as a block so you can move it around as you like and have it appear on any page in your site.

Making WordPress store its files in a secret folder

Do you want to install WordPress on your server but want to keep your root directory clean?

The easiest way to do this is just to install the files for WordPress into a subdirectory, change the site address to the root, and then copy the index.php up to the root, and then edit one line to reference the new WordPress subdirectory.

require( dirname( __FILE__ ) . '/wp-blog-header.php' );


require( dirname( __FILE__ ) . '/subdirectory/wp-blog-header.php' );

For more info, check out the official WordPress documentation