Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.2] Articles do not have a [Print] or [Email] button. #44309

Closed
universewrld opened this issue Oct 18, 2024 · 7 comments
Closed

[5.2] Articles do not have a [Print] or [Email] button. #44309

universewrld opened this issue Oct 18, 2024 · 7 comments

Comments

@universewrld
Copy link

Steps to reproduce the issue

Open any article on the Joomla 5.2 website and you will not find the Print and Email button, even in the Control Panel settings you will not find the option to enable these buttons.

Expected result

This is a screenshot of an article from Joomla 3, which had similar buttons.
These buttons have existed in Joomla articles since the creation of the CMS.

Image

Actual result

These buttons don't even exist in Joomla 5.2

System information (as much as possible)

Joomla 5.2

Additional comments

These buttons should be returned to Joomla, they have always been part of Joomla.

@Quy
Copy link
Contributor

Quy commented Oct 18, 2024

See #24025

@universewrld
Copy link
Author

See #24025

if these methods are outdated, then sharing content with friends and people you know is still not outdated. people send each other links to articles, videos, etc. every day.

maybe they use other methods, like forwarding a link to a friend in a messenger or sending a private message on a social network, but people still share content and links with each other every day.

I suggest adding a "share" button, which was developed for devices like smartphones, tablets, smart watches and the like, which works through the Web Share API:

@google Integrate with the OS sharing UI with the Web Share API - https://web.dev/articles/web-share
@mdn Web Share API - https://developer.mozilla.org/docs/Web/API/Web_Share_API
@w3c Web Share API - https://www.w3.org/TR/web-share/

Image
Image

This Share button can replace Print and Email, because at the moment @joomla does not offer any ways to share content.

Web share has the following capabilities and limitations:

  • It can only be used on a site that is accessed via HTTPS.
  • If the share happens in a third-party iframe, the allow attribute must be used.
  • It must be invoked in response to a user action such as a click. Invoking it through the onload handler is impossible.
  • It can share URLs, text, or files.

@brianteeman
Copy link
Contributor

There are a lot of extensions available that will offer you a "share" functionality. Joomla core can not include everything.

https://extensions.joomla.org/category/social-web/social-share/

@universewrld
Copy link
Author

universewrld commented Oct 18, 2024

There are a lot of extensions available that will offer you a "share" functionality. Joomla core can not include everything.

https://extensions.joomla.org/category/social-web/social-share/

you suggest me to add a plugin that will show Facebook, Twitter and similar buttons made by third-party developers.

I suggest using a built-in feature in the browser via Web Share API, which at the system/browser level will show the user possible options for sharing content.

this is only 1 share button, we are talking about completely different things.

I don't need a Facebook Like or Facebook Share button, leave that to third party developers.
All I want is for @joomla to be able to use the built-in browser/system API, and that's something third party developers can't offer.

@brianteeman
Copy link
Contributor

You cannot use web-share as it is not supported by all the browsers that joomla supports. That is a hard limit.

@HLeithner
Copy link
Member

thanks for your feature request, but I'm closing this, since it's not expected that this feature will land in joomla. As already mentioned we have extensions in the JED which already solve this.

@universewrld
Copy link
Author

universewrld commented Oct 19, 2024

As already mentioned we have extensions in the JED which already solve this.

what third-party extension allows to use Web Share API?
I did not make a request for Facebook and Twitter share buttons, my issue #44311 is about something completely different, about using the API built into browsers.

this issue #44311 is about adding API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants