Posted: March 17, 2018 at 9:10 pm
|
Hello, I am testing out the ticketing addon in an event espresso demo site. I cannot get the tickets to print on a page break. I have followed the following steps: https://gist.github.com/lorenzocaum/031c69b52877289f5412 I’ve tried adding the following code in the text editor of the message
Then at the base of the file I added However I think there is a problem with this solution. the <style> and </style> tags disappear after clicking save. This has been done entirely in the text editor (no switching to visual editor). From doing some reading this is inherent to wordpress. Is there somewhere else you have disabled WordPress from stripping out the <style> tags? |
Hi there,
EE already filters tinymce to allow styles in the message editor. I've just tested this on my site and didn't run into any problems - http://take.ms/sWkk2 So we'll need to a narrow this down some.
One of our demo sites or your own? |
|
|
I’m having the issue on the EE demo site setup by you guys (Event Espressso) |
Ah, ok, its likely down to the caps available on your account on our demo account. I’ve just edited the ticket template on your site and confirmed the above code works – http://take.ms/DFZap If you try printing tickets now do they show or separate pages? |
|
|
What do you mean when you say “the caps available on your account” I logged in and looked at the ticket event. The <style> and </style> tags were there on the default template. However, when I clicked save, the <style> and </style> tags still disappeared. It would also not let me save them on the custom ticket I was playing around with. |
The capabilities of the account you are using on demoee.org don’t have completely unrestricted access and do not have the
Yeah that will continue to happen because of the above, I’ve added them back to both the default template and your custom template. However if you edit and save the template again, they will be removed once again, so I advise you don’t edit the template and test that the tickets show on separate pages. The above wont happen on your own site if you edit the template using an account that has the |
|
The support post ‘Printing Tickets – page Break’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.