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
[4.0][Bug] Print button is missing from the Show view #2296
Comments
Press Ctrl P in the show page. |
To Maintain Genericity and to print each Item as per it's own layout. It did the following: 1)Created Print Operation
2)Created An Iframe Widget:
3)Created Print Button
4)Added Widget & Operation in the Controller:
This works like ajax printing ;) |
@tifaahmed you're right. It looks like we've mistakenly removed the Print button from the Show operation in the 4.0 rewrite. We'll fix this ASAP. In the meantime - OMFG @karandatwani92 ! This is EXACTLY why I worked so hard at the 4.0 operations and widgets, so you can do that kind of stuff. I'm so glad you put that together, even though the documentation on doing this kind of thing is sparse at the moment. How do you feel about writing a short blog article / tutorial about the operation? Just a small intro and screenshots , in addition to the code, would be enough in my opinion. If you have a blog yourself, you could post there, please give us the link. If not, we could post it on backpackforlaravel.com in your name. Please reach out to hello@tabacitu.ro - I think many people would love to see this new operation you build. Plus, having a little publicity to your name couldn't hurt right? 😄 Cheers! |
thanks for help my problem solved |
@tabacitu I would love to work for backpackforlaravel.com. I will reach out to you soon over mail. Thanks :) |
@karandatwani92 please do. Let's leave this open until we fix it. The way I see it, the print button above is VERY nice but it shouldn't be the default feature. The default feature should be the exact same that was present in 3.6: a simple button like Of course, because we've suffered a redesign, we have to test thoroughly and see what else needs changing so that the Print view looks good. @pxpm can you please take a look and create a PR to fix this? |
Bug report
What I did
What I expected to happen
like version 3.6
after click the (show button) see page with (print button) to print the data in the page
What happened
(print button) not exists in the new version
What I've already tried to fix it
Backpack, Laravel, PHP, DB version
The text was updated successfully, but these errors were encountered: