Home › Forums › Additional Help › Extensions › PDF tickets Extension / problems
- This topic has 29 replies, 4 voices, and was last updated 5 years, 11 months ago by Cliff.
-
AuthorPosts
-
December 7, 2017 at 9:29 am #1400492IlkkaParticipant
Hi,
I am moving to your new extension from print&view tickets extension. But i have some problems with these PDF tickets.
1. We have built a ticket template that reacts to check in. So that after check in our digital tickets receive a check in label. Because the pdf is created once (after it is bought) and not always when the link is clicked. Because of this it does not have the changes made from the check in. The previous plugin was always creating the ticket when it was viewed so we could change it on the fly. How can we have the ticket to be created always when it is viewed? Or is there a way to be using the html version for viewing not the pdf (this would be better)?
2. How we can manipulate the outlook of the pdf? Is there a way to have a style sheet attached to it? As the outlook of the pdf is pretty far away from the html ticket…
Well i hope we can find some solutions to these problems, because we have been really heavily marketing digital Tickets. That can be changed on the fly. As this change really ruins the idea.
Thanks.
December 7, 2017 at 10:17 pm #1400951CliffMemberHi, Ilkka. Is there a reason to move from the old extension to the new one if the old one is still working for you?
Saving the file to the uploads directory happens because of the $dest = ‘F’ from https://github.com/moderntribe/products-extensions/blob/master/tribe-ext-pdf-tickets/index.php#L760-L774
As far as custom styling goes, I’d point you to https://mpdf.github.io/css-stylesheets/introduction.html
After reviewing all this information, feel free to request what you think you’ll need to move forward with your project.
December 7, 2017 at 11:55 pm #1400979IlkkaParticipantHi,
The only reason i would be moving to the new extension is that i thought you are going to end supporting the print&view tickets extension?
Can i use both at the same time? Or just continue using the old print&view tickets which is a better solution for me.
Thanks.
December 8, 2017 at 9:46 am #1401435CliffMemberThis is correct.
If using alongside each other, you could use version 1.0.0 of the Display and Print Tickets extension, which didn’t have the PDF functionality.
However, both of the issues you brought up seem solvable via the new PDF Tickets extension, and I’ll be glad to assist you with solving your needs with it, even updating it as needed to support use cases we can understand.
I understand your requests but would need to know exactly what you’d want/need.
You’re welcome to share screenshots, code snippets, whatever else you need to fully communicate your request.
December 11, 2017 at 7:30 am #1402861IlkkaParticipantHi,
Thanks for your help.
I have two problems.
1. On many places i am providing a link to electronic ticket “View ticket”. With pdf extension i am not sure how to generate this link.
2. The second problem is that i would like to have the ticket always updated when it is viewed.
3. The proper styling of the ticket i believe i am able to achieve when i start focusing on it.
I hope you are following what i am trying to achieve.
Thanks
December 12, 2017 at 9:24 pm #1404300IlkkaParticipantHi,
I have been making some tests and it seems that i can use both pdf tickets extension and print&view 2.0 tickets extension at the same time. However i feel that this is not maybe the best practice and would like to get this pdf tickets working for me. Can you verify that you are going to be stop support for print&view extension, if you are.
ilkka
December 12, 2017 at 9:32 pm #1404304IlkkaParticipantHi,
One crucial thing for the pdf tickets extension. It is naming the file as tribe_tickets_….pdf how can i change that. As this naming with tribe_tickets is confusing to our customers as they really do not have any idea of tribe_tickets. So better idea would be having my domain name on the file. How can i change this?
And where are all the pdf files stored? In one location?
Any ideas for this?
ilkka
December 12, 2017 at 9:52 pm #1404305IlkkaParticipantHi,
Okay i found the pdf tickets in uploads folder.
ilkka
December 12, 2017 at 10:09 pm #1404315IlkkaParticipantHi,
So it seems that if i delete the ticket from the folder, it will be creating the again and it will be updated. Know i have to be making some testing what is the best way to delete the ticket from the folder. Or when…
December 13, 2017 at 6:55 pm #1405139CliffMemberI’m keeping track of these requests and will get answers to you soon.
However, could you please clarify if you still need custom styling or did you figure that part out on your own?
December 13, 2017 at 8:49 pm #1405191IlkkaParticipantHi,
Yes i need help styling it.
I am working on styling the pdf. Doing some tests but it seems that something is really messing it up as normal css styling is not really working on it. Sometimes it is but mostly not. I have created a different print rules for it which does not work mostly. I do not know if it is the instyle css for older email clients messing it up.
Seems to me that there should be a different template for the pdf ticket or i have something really wrong in the ticket template.
Anyways styling it seems to be impossible. I have read the article you pointed me to.
Thanks
December 14, 2017 at 5:41 am #1405441CliffMemberAre you customizing /wp-content/plugins/event-tickets/src/views/tickets/email.php via a template override (per our Themer’s Guide) at [your-active-child-theme]/tribe-events/tickets/email.php
Basically, the PDF is a print view of the actual email they receive and modifying this email.php file is what would go into both the email client and the PDF.
Is this not your experience or are you wanting styling in the PDF separate from the email styling? Whichever it is, please provide details and explanation.
December 14, 2017 at 6:16 am #1405476IlkkaParticipantThis reply is private.
December 14, 2017 at 3:12 pm #1406024CliffMemberWhat are each of those screenshots of? They both look great.
Could you please send a .zip containing nothing but your custom email.php file so I can test on my end?
December 14, 2017 at 9:00 pm #1406161IlkkaParticipantThis reply is private.
-
AuthorPosts
- The topic ‘PDF tickets Extension / problems’ is closed to new replies.