[Drupal] How to install and configure the Widgets and Social Media module in Drupal 7?

| | 2 min read

Today many websites use social media buttons(Facebook, Google plus, etc). One of the modules we use in our Drupal sites is Add This. However we have to copy the code to the block each time we want to alter the theme. Often we will not get the proper icon we are looking for. In such a scenario we can implement this functionality using the Drupal Widgets and Social Media module. If you are facing any problems with installing the Widgets and Social Media module and want to know how to install and configure the Widgets and Social Media module in Drupal 7 then follow the instructions given below.

Follow the steps below to install the module

  1. Download and Install the Social Media, Widgets, and Tokens module
  2. If you want to add extra icon sets, download and copy them to sites/all/modules/socialmedia/icons folder
  3. Go to admin/config/media/socialmedia and configure the module according to the requirement.
  4. Go to admin/structure/widgets and add a new widget set.
  5. In the next page, give a set name and click Create New Set
  6. In the next page, you will have an element section where the required icons can be added from a select box and added.
  7. The order of the elements added can be changed with the default Drupal drag interface
  8. The way the elements have to be viewed(horizontal or vertical) can be chosen from the style section in the same page.
  9. The visibility of the created widget can also be set in the visibility section. In this section whether the widget should be displayed as block or accessed via Token variables can be set.
  10. Other default settings can also be changed from this page.

Hope this article will help you attain your requirements