CalcBuilder Forum

email PDF example

User moon_584 2012-06-29 17:39:37

I want to add the same information that ends up in "show pdf export" into an emailed pdf. I'm having trouble figuring out how to write the code. I tried copy and pasting the html code from the Exit Layout into the area of the PHP code under //pdf text. Am I on the right track?

Moonsoft support 2012-07-03 00:38:53

Hello,
yes, you need to insert the pdf content at the code area, you have available an example of how this function should be coded at the downloadable example

Send Email with PDF

you can find at your customer access section.

Hope this helps

User moon_584 2012-07-03 01:43:43

I checked out the sample. It looks like it should be pretty easy but I think there's probably something really basic I'm missing. I don't know enough about writing code to make the pdf look real nice. Is that something that you guys can help with? What are your rates?

Moonsoft support 2012-07-03 18:37:22

Hello,

To create PDF, calcbuilder uses css style of module. By default this css is default.css, located at JOOMLA/modules/mod_calcbuilder/assets/css/default.css

In this file you can write some css. This applies to result and to PDF/excel export.

If you need more such as headers, footers or special styles in PDF, you can write us an email (gestion@moonsoft.es) with an example and instructions, and we will give you a quote.

Regards,

...
Support/development 40 hours

With the peace of mind of having a professional team at your service (20% discount)

Buy now!
...
CalcBuilder

Create dynamic calculators

Buy now!