Forums: [SOLVED] dompdf error help - Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[SOLVED] dompdf error help dompdf Rate Topic: -----

#1 User is offline   Melanie 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 12-July 17

Posted 13 April 2018 - 07:05 PM

DOMPDF Formatting. I am using Massmailer and have it mostly working - using a project page with pdf viewer to attach a pdf to e-mail to users - but the formatting of the PDF is not good. I won't seem to do a table (I get an error about cells) and if I use a more simple layout it doesn't look nice and fills up the whole page (accross) no matter what kind of changes I make to make it look better. Any hints for these PDFs created from the HTML pages?

I have re-installed the DOMPDF and at runtime I do get a slightly better formatted PDF now. When I run the pdf in the project (clicking PDF button on project printer ready page) I get a very nice PDF with color etc but when I runs and creates the PDF through Massmailer and e-mails it, the formatting is not as nice. It is black and white and includes the button that you see on the screen (PDF).

I have also discovered that I cannot really send to the users just their data without them logging in. I was trying to avoid anyone logging in. So then my only option is to make the database fields I want to include in the template of the e-mail. This is not a good solution as I have rows and columns that I want to send and the formatting is not nice

Description: this is the description
date: this is the data
amount: 50
hours: 10
___________________________________

Description: this is the description2
date: this is the data2
amount: 20
hours: 5

So I am still not sure this will work for me - it is close. I either need to find a way to filter the PDF data to each employee or find a way to format the data a little more elegantly.

If anyone has any suggestion please reply.
0

#2 User is offline   Melanie 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 12-July 17

Posted 19 April 2018 - 03:52 PM

I am marking this as solved and will do a longer post in Tips and Tricks. Bottom line I now have the MassMailer template working with my SQL database using my tables - and have it e-mailing specific employee data to users. I love PHPRunner - it has been invaluable to us in getting quick web based apps up quickly without a programmer on staff. I have found the support, manuals and instructions plus these forums very helpful whenever I have had a problem or wanted to do a specific task. I have to say Massmailer instructions seemed to be lacking a bit - and that is probably just because I am not a programmer and these things may have been completely obvious to others - but I will start a new post and list the step by step and an example of how I am using it so it may help others. I will also include some gotchas that took me a bit of time to figure out.
0

#3 User is offline   Justin Kong 

  • Member
  • PipPip
  • Group: Members
  • Posts: 20
  • Joined: 04-December 17

Posted 22 April 2018 - 07:34 AM

View PostMelanie, on 19 April 2018 - 11:52 PM, said:

I am marking this as solved and will do a longer post in Tips and Tricks. Bottom line I now have the MassMailer template working with my SQL database using my tables - and have it e-mailing specific employee data to users. I love PHPRunner - it has been invaluable to us in getting quick web based apps up quickly without a programmer on staff. I have found the support, manuals and instructions plus these forums very helpful whenever I have had a problem or wanted to do a specific task. I have to say Massmailer instructions seemed to be lacking a bit - and that is probably just because I am not a programmer and these things may have been completely obvious to others - but I will start a new post and list the step by step and an example of how I am using it so it may help others. I will also include some gotchas that took me a bit of time to figure out.

Hi,

Can you advise where we can get the steps to solve this issue? Thanks in advance!

Justin
0

#4 User is offline   roeland 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 28-February 18

Posted 01 May 2018 - 09:59 PM

Hi Melanie,
can you let us know how you solved the issue?
thanks!
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic