Closed (outdated)
Project:
PrintFriendly & PDF
Version:
8.x-3.3
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Jan 2019 at 13:40 UTC
Updated:
22 Oct 2020 at 13:46 UTC
Jump to comment: Most recent
Comments
Comment #2
mattfarrow commentedHi Alexander
I'm guessing you have set the permissions for the module appropriately.
By default, the print-friendly button appears only for administrators only, but you can change that at Admin > People > Permissions.
On my local test install, I've given the Access PrintFriendly permission to the Anonymous User and Anonymous User roles, and once applied, the button appears on the page as anticipated.
Similarly, regardless of which user I log in as, the functionality appears to work much as expected.
If you're still experiencing this issue, perhaps you could provide the steps to reproduce, together with screenshots of what you're seeing.
Cheers
Matt
Comment #3
alexander94 commentedThanks for your answer
I changed the permissions and it seems there is no problem with that because printfriendly button appears on the page, even if we are logged as administrator or if we are a visitor.
When the administrator clicks on printfriendly links, the lightbox appears on screen ( > perfect). When an anonymous user clicks on those links, the user is redirected to printfriendly.com (> fails)
Alexander
Comment #4
mattfarrow commentedHi Alexander
That's strange. It's working fine for me, regardless of whether I'm authenticated or anonymous.
Couple of questions for you:
Cheers
Matt
Comment #5
alexander94 commentedI'm using Drupal 8.5.1
I see the same behaviour for every page.
Nothing happens when I clear the cache... :(
I'm testing on Firefox, Chrome, and Opera... the same thing happens on each browser...
When I copy / paste the source code of the generated page in a local environment, the popup works! I'm wondering if there is a problem with the internal cache or something else?
Alexander
Comment #6
mattfarrow commentedHi Alexander
That is strange. I've been testing on Drupal 8.6, so there may be a potential conflict there.
I'll retest on 8.5.1 to see if I get the same behaviour.
Cheers
Matt
Comment #7
alexander94 commentedI have installed a drupal 8.5.1 on my local environment and it's working. There is probably a conflict with the site theme. For the moment, I did not find anything.
Comment #8
mattfarrow commentedHi Alexander
Which theme are you using?
Cheers
Matt
Comment #9
alexander94 commentedI'm using ZURB Foundation 6 8.x-6.0-alpha4, but I have overloaded this theme to create my own. I will test again this weekend.
Thanks for your interest and your answers.
Comment #10
EktaPuri commentedAny solution for this? I am having same issue.
On my local environment (WAMP) its works for anonymous as well as for admin, all is good here buttons visibility and generate pdf as well.
But my server(Linux) behave different buttons are appearing but only admin or logged in user see the popup to print, generate PDF or email whereas anonymous user get redirected and asks for print friendly browser extension.
I have installed the plugin and given permission to anonymous user which make the button visible but click on button is going to link instead of showing popup.
Comment #11
printfriendly commentedThe ClientSide lightbox is a Pro feature. You need to purchase a Pro subscription for your domain, and it will automatically switch to the on page lightbox.
Purchase for your domain at https://www.printfriendly.com/button/pro
Comment #12
fabsgugu commented