- 🇬🇧United Kingdom Baysaa
@Martygraphie you need to enable the Copy to clipboard social media item in the module config form after applying the patch.
Apparently the api url field feeds the value of the data-clipboard-text attribute, which is a bit confusing.
This field just needs a token entered into it: [current-page:url]
This token will be replaced by the current page URL when the copy button is output.
- last update
over 1 year ago 2 fail The last submitted patch, 15: social_media-copy-to-clipboard-3068223-15.patch, failed testing. View results →
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.- Status changed to Needs work
8 months ago 2:30pm 7 August 2024 - 🇪🇬Egypt omnia.ibrahim
I applied the patch, but the functionality is not working, nothing is copied when we click on the link, do we need to install any external libraries?
Thanks - 🇬🇧United Kingdom Baysaa
No you don't need any external libraries. Just apply the patch, clear cache then enable the plugin on the social media settings page in the admin UI. Then the Copy link should appear, I assume you're already at this step. If it's not working at this point, check your JS console if there's any JS errors on your site which may prevent the functionality from working.