<![CDATA[ html to pdf converter - My Forums]]> https://forums.modx.com/thread/?thread=24762 <![CDATA[Re: html to pdf converter]]> https://forums.modx.com/thread/24762/html-to-pdf-converter?page=8#dis-post-418129
[+Name+]
[+Adress+]

]]>
janevi Mar 30, 2012, 07:37 AM https://forums.modx.com/thread/24762/html-to-pdf-converter?page=8#dis-post-418129
<![CDATA[Re: html to pdf converter]]> https://forums.modx.com/thread/24762/html-to-pdf-converter?page=8#dis-post-417839 http://forums.modx.com/index.php?topic=13684.0

http://forums.modx.com/index.php?topic=48263.0

http://forums.modx.com/index.php?topic=42485.0]]>
microcipcip Mar 28, 2012, 05:38 AM https://forums.modx.com/thread/24762/html-to-pdf-converter?page=8#dis-post-417839
<![CDATA[Re: html to pdf converter]]> https://forums.modx.com/thread/24762/html-to-pdf-converter?page=8#dis-post-417836 janevi Mar 28, 2012, 05:26 AM https://forums.modx.com/thread/24762/html-to-pdf-converter?page=8#dis-post-417836 <![CDATA[Re: html to pdf converter]]> https://forums.modx.com/thread/24762/html-to-pdf-converter?page=8#dis-post-417137 janevi Mar 22, 2012, 11:12 AM https://forums.modx.com/thread/24762/html-to-pdf-converter?page=8#dis-post-417137 <![CDATA[Re: html to pdf converter]]> https://forums.modx.com/thread/24762/html-to-pdf-converter?page=8#dis-post-416568
I'm still a bit ashamed of my poor programming skills as most of the community members here are skilled developers. I'm much better in designing and I hope maybe someone could help me a little also this time...

I have an eform on my website and I want to use tcpdf to create a pdf which would output all the data that user puts into the input fields. The user has a possibility to download a pdf or send it (there are two buttons on the form page).
I've set up the tcpdf and works well on any other standard page.
Here is a piece of my eform:
			
<div class="formdataOut">
	<label for="przyrzPom01">
		<div class="zwPyt">
		Nazwa, typ, nr fabryczny: 
		</div>
		<textarea name="przyrzPom01" id="przyrzPom01" rows="2" cols="50" eform="Nazwa przyrzÄ…du pomiarowego::1:"></textarea>
	</label>
</div>
<div class="formdataOut">
	<label for="zakrPom01">
		<div class="zwPyt">
		Zakres pomiarowy: 
		</div>
		<textarea name="zakrPom01" id="zakrPom01" rows="2" cols="50"></textarea>
	</label>
</div>

I also thought about another solution. Rather than getting form data directly to pdf, maybe after submitting, the form displays on the webpage by adding this to the snippet call:
&noemail=`1` &thankyou=`myReport`

and then it's easy to get a pdf. But still, there needs to be a possiblility to send a form, so how can I achieve it on this stage?]]>
janevi Mar 19, 2012, 07:27 AM https://forums.modx.com/thread/24762/html-to-pdf-converter?page=8#dis-post-416568
<![CDATA[Re: html to pdf converter]]> https://forums.modx.com/thread/24762/html-to-pdf-converter?page=7#dis-post-416301
Your question about the quirk in MODX Evolution is a good one. It was based on the architecture of MODX Evolution and, TBH, I don't know whether it's gone or not.


---------------------------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using . . . PLEASE!
MODX info for everyone: http://bobsguides.com/modx.html]]>
BobRay Mar 16, 2012, 12:33 PM https://forums.modx.com/thread/24762/html-to-pdf-converter?page=7#dis-post-416301
<![CDATA[Re: html to pdf converter]]> https://forums.modx.com/thread/24762/html-to-pdf-converter?page=7#dis-post-416284 janevi Mar 16, 2012, 10:02 AM https://forums.modx.com/thread/24762/html-to-pdf-converter?page=7#dis-post-416284 <![CDATA[Re: html to pdf converter]]> https://forums.modx.com/thread/24762/html-to-pdf-converter?page=7#dis-post-416262
you would use setDrawColor or setDrawColorArray instaed]]>
Bruno17 Mar 16, 2012, 05:38 AM https://forums.modx.com/thread/24762/html-to-pdf-converter?page=7#dis-post-416262
<![CDATA[Re: html to pdf converter]]> https://forums.modx.com/thread/24762/html-to-pdf-converter?page=7#dis-post-416255
I'm running Modx 1.0.5 and here is what I did:
There is this line in the snippet:

// Set the color of the header and footer line
$pdf->setLineColor(isset($lineColor) && (is_array(explode(',', $lineColor))) ? explode(',', $lineColor) : array(0, 0, 0));


which I commented out. I don't really understand why this line of code was making problem but I'm happy it works now.

Thank you for your guides Bob, they are very comprehensive for someone like me (I'm not a developer) and helped me so many times (added your page to favourites long time ago). I hope that modx team won't stop developing and improving it.

I've seen that in the newest release there is 'improvement to pageCache read logic', does this mean that the quirk that you wrote about on your website:
http://bobsguides.com/modx-cache.html
no longer exists?

JaneVi
]]>
janevi Mar 16, 2012, 05:05 AM https://forums.modx.com/thread/24762/html-to-pdf-converter?page=7#dis-post-416255
<![CDATA[Re: html to pdf converter]]> https://forums.modx.com/thread/24762/html-to-pdf-converter?page=7#dis-post-416203
What version of MODX are you running?


---------------------------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using . . . PLEASE!
MODX info for everyone: http://bobsguides.com/modx.html]]>
BobRay Mar 15, 2012, 03:39 PM https://forums.modx.com/thread/24762/html-to-pdf-converter?page=7#dis-post-416203