Giới thiệu 4 Social Sharing Modules cho Drupal

Giới thiệu 4 Social Sharing Modules cho Drupal

If you don't give your site visitors an opportunity to share your webpages, you're missing out on an opportunity for others to hear about your great content.Giới thiệu 4 Social Sharing Modules cho Drupal

Drupal has several modules that allow you to add Facebook, Twitter, Linkedin and other social buttons.

In this blog, we're going to introduce you to four different options for adding social sharing to your Drupal site:

  • Service Links
  • Social Share
  • AddThis
  • AddToAny

ServiceLinks Module

media_1386198659455_1814f30195a25737958403ee9188e8ac.png

There are so many options available in this module, we could do a full blog on just this one. But this is about comparing so let's cover the basics.

  1. Download and install https://drupal.org/project/service_links.
  2. Enable the Service links module and at least one of the Service links services modules that shipped with this module. I enabled Widget services.
  3. Configure at admin/config/services/service-links. This is where you decide the type of node that can be shared and if you want the links at the bottom of the node).
  4. Select the widgets (Facebook, LinkedIn, etc) here admin/config/services/service-links/services.
  5. Configure widgets here admin/config/services/service-links/widgets.
  6. If you want the buttons in a block, visit the blocks admin page and configure either/or the node block or the block designed to allow non-node pages to be shared.

AddThis Module

media_1386199961392_cacca17d067e0c66ec70066905411881.png

This module taps into the Addthis.com service. You don't need an account to make this work.

  1. Download and install https://drupal.org/project/addthis.
  2. Enable AddThis and AddThis Displays.
  3. Configure at admin/config/user-interface/addthis. This is where you select the social network services you want to make available.
  4. Add an AddThis field to the content types if you want the link to appear in the content type.
  5. Manage the display to make the icons to show and hide the label.
  6. If you want the buttons in a block, visit the blocks admin page and configure the AddThis block. This will share the non-node pages.

AddToAny Module

media_1386200595480.png

This module has the fewest options but it's easy to set up.

  1. Download and install https://drupal.org/project/addtoany.
  2. Enable AddToAny.
  3. Configure for all content types at admin/config/system/addtoany. The screenshot shows the button in the Link variable but you can include where "Bookmark/Search ..." is located. This module does not appear to give you the option to choose which networks you want users to be able to access.
  4. If you want the buttons in a block, visit the blocks admin page and configure the AddToAny block. This will share the applicable nodes and the homepage. It will not share non-node pages.

Social Share Module

media_1386201073294.png

I like the default buttons that come with this one.

  1. Download and install https://drupal.org/project/social-share.
  2. Enable Social Share.
  3. Configure at admin/config/content/social-share.
  4. Configure networks and label (if you want one) on each content type in the Social Share vertical tab.
  5. If you check the box to make a block, it will be automatically placed in a region ... at least that's what happened in Bartik. It showed up in the Header region. Configure the block to set the networks. FYI, the block recognizes non-node pages.
Bạn thấy bài viết này như thế nào?: 
No votes yet
Ảnh của Khanh Hoang

Khanh Hoang - Kenn

Kenn is a user experience designer and front end developer who enjoys creating beautiful and usable web and mobile experiences.

Tìm kiếm bất động sản

 

Advertisement

 

jobsora

Dich vu khu trung tphcm

Dich vu diet chuot tphcm

Dich vu diet con trung

Quảng Cáo Bài Viết

 
the tin dung

Các thuật ngữ về tài khoản, thẻ ATM, thẻ tín dụng trong ngân hàng

Khi bắt đầu đi học hoặc đi làm, nhiều bạn sẽ ra ngân hàng làm một cái thẻ ATM để nhận và rút tiền. Tuy nhiên khi nhận thẻ về, nhiều bạn có thể bỏ qua

Samsung lên kế hoạch phát triển mạng xã hội giống Facebook

Samsung lên kế hoạch phát triển mạng xã hội giống Facebook

Tờ Korea Times mới đây cho biết Samsung đang có kế hoạch phát triển một mạng xã hội giống ý tưởng của Facebook hiện nay và sẽ sẵn sàng đi vào hoạt động kể từ đầu năm 2013 tới.

Những xu hướng di động đáng chú ý năm 2013

Giới công nghệ thừa nhận 2013 là năm đặc biệt của smartphone bởi dòng sản phẩm này đã đạt được những thành tựu khác hẳn giai đoạn trước đó. Doanh số điện thoại thông minh đã lần đầu tiên vượt điện thoại cơ bản cũng như được trang bị những đặc điểm tưởng chừng còn xa vời như chip 64 bit hay nhận diện vân tay, nhận diện chuyển động...

Công ty diệt chuột T&C

 

Diet con trung