Hello,
In a slideshow, I want to make the "Share" button disappear (Share on facebook, tweet, pin it, download image).
Indeed the content published on my site must be protected against copying and downloading by express agreement with the French Administration (National Archives and Departmental Archives).
I therefore cannot let visitors download the images of the documents they view.
Please tell me how to remove this possibility of sharing and downloading in slideshows.
Best regards
rmaitre
Bonjour,
Dans un diaporama, je veux faire disparaitre le bouton « Share ( Share on facebook, tweet, pin it, download image).
En effet le contenu publié sur mon site doit être protégé contre la copie et le téléchargement par convention expresse avec l’Administration Française (Archives nationales et archives départementales).
Je ne peux donc laisser les visiteurs télécharger les images des documents qu’ils visionnent.
Merci de bien vouloir m’indiquer la marche à suivre pour supprimer cette possibilité de partage et de téléchargement dans les diaporamas.
Bien cordialement
rmaitre
Slideshow of a gallery – Disabling or removing the “Share” Button
-
- Phoca Newbie
- Posts: 6
- Joined: 30 Jul 2022, 06:54
-
- Phoca Newbie
- Posts: 6
- Joined: 30 Jul 2022, 06:54
Re: Slideshow of a gallery – Disabling or removing the “Share” Button
For clarification, it's "Share/Download image" that I want to disable or delete!
I can keep the other functions.
Pour plus de précisions, c’est « Share/Download image » que je veux désactiver ou supprimer !
Je peux conserver les autres fonctions.
I can keep the other functions.
Pour plus de précisions, c’est « Share/Download image » que je veux désactiver ou supprimer !
Je peux conserver les autres fonctions.
-
- Phoca Hero
- Posts: 2819
- Joined: 28 Nov 2010, 17:20
Re: Slideshow of a gallery – Disabling or removing the “Share” Button
Hi,
I don't know, which slideshow you mean. Maybe to see it live, could be useful.
Ah, maybe you mean on the top: slideshow/zoom//share/close
If you mean the Detail View with photoswipe, you can disable the share button with:
Kind regards
Christine
I don't know, which slideshow you mean. Maybe to see it live, could be useful.
Ah, maybe you mean on the top: slideshow/zoom//share/close
If you mean the Detail View with photoswipe, you can disable the share button with:
Code: Select all
button.pswp__button.pswp__button--share {
display: none;
}
Christine
-
- Phoca Newbie
- Posts: 6
- Joined: 30 Jul 2022, 06:54
Re: Slideshow of a gallery – Disabling or removing the “Share” Button
Hello Christine,
Thank you for your reply.
But in which file should I introduce this code ?
Best regards
rmaitre
Thank you for your reply.
But in which file should I introduce this code ?
Best regards
rmaitre
-
- Phoca Hero
- Posts: 2819
- Joined: 28 Nov 2010, 17:20
Re: Slideshow of a gallery – Disabling or removing the “Share” Button
Hi maitre,
depends on you template. Either you create a customs.css in Phoca, or there is a custom.css in your template, or e.g. in Cassiopeia it is a user.css
Kind regards
Christine
depends on you template. Either you create a customs.css in Phoca, or there is a custom.css in your template, or e.g. in Cassiopeia it is a user.css
Kind regards
Christine
-
- Phoca Newbie
- Posts: 6
- Joined: 30 Jul 2022, 06:54
Re: Slideshow of a gallery – Disabling or removing the “Share” Button
Thanks a lot !
I added this code in a user.css that I had already created for the Cassoipeia template of my site.
It works perfectly, the button has disappeared from the slideshow and my problem is solved.
Kudos for your responsiveness,
Best regards
rmaitre
I added this code in a user.css that I had already created for the Cassoipeia template of my site.
It works perfectly, the button has disappeared from the slideshow and my problem is solved.
Kudos for your responsiveness,
Best regards
rmaitre
-
- Phoca Hero
- Posts: 2819
- Joined: 28 Nov 2010, 17:20
Re: Slideshow of a gallery – Disabling or removing the “Share” Button
Hi rmaitre,
That's fine!
Kind regards
Christine
That's fine!
Kind regards
Christine
- jobrusche
- Phoca Member
- Posts: 26
- Joined: 18 Apr 2012, 16:26
Re: Slideshow of a gallery – Disabling or removing the “Share” Button
The file ../media/com_phocagallery/css/custom/default.css is empty
I added the code:
button.pswp__button.pswp__button--share {
display: none;
}
in this file default.css and that works also to hide the share button
Regards,
Johan.
I added the code:
button.pswp__button.pswp__button--share {
display: none;
}
in this file default.css and that works also to hide the share button
Regards,
Johan.
- jobrusche
- Phoca Member
- Posts: 26
- Joined: 18 Apr 2012, 16:26
Re: Slideshow of a gallery – Disabling or removing the “Share” Button
! Beware hat a Phocagallery update resets de content op default.css !
-
- Phoca Hero
- Posts: 2819
- Joined: 28 Nov 2010, 17:20
Re: Slideshow of a gallery – Disabling or removing the “Share” Button
Hi jobrusche,
The default.css is not provided.
As I wrote in previous posts: css changes always e.g. in the user.css (e.g. Cassiopeia) or in a custom.css from the template.
Kind regards
Christine
Of course.
The default.css is not provided.
As I wrote in previous posts: css changes always e.g. in the user.css (e.g. Cassiopeia) or in a custom.css from the template.
Kind regards
Christine