- Issue created by @rhiss
- Status changed to Needs work
9 months ago 1:48pm 8 June 2024 - πΊπΈUnited States shelane
This needs a reroll due to changes for linting style requirements that weβre made in dev.
- π·π΄Romania bogdan.dinu
Reroll of patch from #4 π Copy link share button uses diffrent pageurl in certain cases Active to work with 4.1.0.
- π΅π°Pakistan dewancodes
I think this can be solution to this issue:
Override the Moduleβs Twig Template:
{% set share_url = path('', {}, {'absolute': TRUE}) %}
- π·π΄Romania bogdan.dinu
@dewancodes that won't work if you want to show the share buttons for a list of article,s generated by a view for example, because it will default to the current page url for all instances of the template.
- π«π·France mably
Is there a particular reason why the code is using
window.location.href
instead of thepage_url
variable?If not, it should be modified to use the same URL than the other buttons.
Can work on a fix if some are interested.