Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Varbase FAQs 9.2.1 Minor update available for module varbase_faqs (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module allows you to easily add social media sharing buttons to your Drupal website. You can display these buttons as a block on any page or add them as a field to your content. It supports various platforms like Facebook, Twitter, LinkedIn, and email, and is flexible enough to be extended with custom sharing options.

The social media share module allows the user to share the current page to different social media platforms. It is rendered as a block, you can place it anywhere of your site.

The module provides social media field type so that you can add it as a field in entity and take all benefits from field API.

It is flexible to share any page of the site whether it is a node, term, panels, view pages so on.

Currently, the module provides many services by default
- Facebook share
- Facebook messenger
- Linkedin
- Twitter
- Pinterest
- Email (Client email service(:mailto) , Forward email as model dialogue, forward email as a separate page)
- Whatsapp ( Optional, needs to be enabled in the configuration )

You have full flexibility to add more services, modify the elements before render, change orders or so on. You can also completely disabled any services from the configuration page(admin/config/services/social-media).

Event subscribe

The module provides an event so that others can develop an event subscriber to modify.
Event Subscriber name:-

social_media.add_more_social_media
-----------------------------------
Used for adding your own social media or extend more.

social_media.pre_execute
-----------------------------------
Used for modify the configuration array before executing.

social_media.pre_render
-----------------------------------
Used for modify element just before rendered.

Check the social_media.api file to see the implementation of an event subscriber. Also, check the readme file to get more details.

You can get more details of the project from
http://www.drupalsharing.com/project/social-media-share

Activity

Total releases
1
First release
Feb 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Release date
2.0.1 Stable Feb 19, 2025