Share via Email

Created on 23 February 2021, over 3 years ago
Updated 2 February 2024, 5 months ago

Sometimes users need to share a node / product via email.

I' ve created this patch to implement this feature.

Also, I' ve passed the current page title to the share_everywhere service and now developers can use the title variable in twig templates.

Finally, in order to show the new button it is needed to uninstall and re-enable the module.

Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

🇬🇷Greece balis_m

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇦Ukraine paulrad

    Hi, @balis_m! Nice catch and improvement proposal!
    At first sight seems like your patch lacks an update function, so there would be no need to reenable the module to apply this functionality.

    Will work on it and create a merge request.

  • Merge request !9#3199850 - share via Email functionality → (Open) created by paulrad
  • Open on Drupal.org →
    Core: 9.5.x + Environment: PHP 7.4 & MySQL 5.7
    last update 8 months ago
    Waiting for branch to pass
  • Open on Drupal.org →
    Core: 9.5.x + Environment: PHP 7.4 & MySQL 5.7
    last update 8 months ago
    Waiting for branch to pass
  • Issue was unassigned.
  • Status changed to Needs review 8 months ago
  • 🇺🇦Ukraine paulrad

    Created MR with @balim_s patch and a few updates:
    - changed elements order;
    - created update function;
    - made mailto links open in a new tab.

  • 🇺🇦Ukraine paulrad

    Can any maintainer review this issue?

  • 🇮🇳India Sandeep_k New Delhi

    @paulrad, I've Tested the shared MR- MR !9 mergeable on Drupal Version- 9.5.11, sharing below testing steps i have followed & testing results-

    Testing Steps:

    Set up a Drupal 9.5
    Enable/Install the Share Everywhere module
    Create a new content type (For the content which have Share Everywhere enabled)
    View node- for before patch results (Attached before result)
    Download the shared patch & apply.
    Go back to the created content node and re-verify this.

    Testing Results:
    After applying the patch, the share Email icon was added now, but when I clicked on it, no action was performed. Also, some of the Share icons were not working for me even before applying the patch (Only Facebook, Twitter & LinkedIn were working) attached after result.

  • Open on Drupal.org →
    Core: 9.5.x + Environment: PHP 7.4 & MySQL 5.7
    last update 5 months ago
    Waiting for branch to pass
  • 🇺🇦Ukraine paulrad

    Thanks for your work, @Sandeep_k!
    I've retested it locally and can confirm that it still works as designed for me (screenshots added).
    I guess the issue with it was caused by the fact that you've added the patch and hook_update_N didn't work out this way.
    Also issues with other parts of functionality isn't reproducible on my side.

  • 🇮🇳India Sandeep_k New Delhi

    Hi @paulrad, Thanks for the details. I have retested this. The other icons are working for me now but while applying this MR- MR !9 mergeable I am getting this error (Patch error attached), not sure if this is due to the patch I have already allied for this issue- https://www.drupal.org/project/share_everywhere/issues/3417029 🐛 Share icons animation not working RTBC

Production build 0.69.0 2024