PDFcrowd
ExpressionEngine 2
Back to this add-on's main page
View Other Add-ons From Percipio
PDF page not parsing correctly
Support Request
JCDerrick
|
Posted: 08 December 2012 01:04 AM |
|
|
|
Hi, I’ve just installed the add-on to my EE installation, EE 2.5.2 and when I visit the page that creates the PDF, using the tag pair with HTML between it, nothing on my page is getting parsed except the raw text. My images, my CSS rules, etc are not being preserved in the PDF.
When I view the page without the PDF tag pair, it looks great - just how I want it to print to the PDF.
I can’t quite figure out what’s causing the problem. Any thoughts?
Thanks,
John
|
|
|
Percipio
|
Posted: 08 December 2012 04:08 AM |
# 1
|
|
Developer
|
Hi
Can you send pdf tag pairs here?
|
|
|
JCDerrick
|
Posted: 08 December 2012 10:00 AM |
# 2
|
|
|
Hi,
No problem. My tags look something like this.
{exp:channel:entries channel="labels" url_title="{segment_3}" disable="categories|category_fields|pagination|member_data" limit="1" dynamic="no"} {exp:pdfcrowd:generate file_name="{title}" page_layout="1"}
----MY CONTENT LABELS HERE----
{/exp:pdfcrowd:generate} {/exp:channel:entries}
My CSS is in the header, I’ve tried using absolute URLs and everything. Inside the content area there is an image (tried full path) and a small text title. The title prints (though not styled properly), but the image just shows up as a blank box with a light border.
|
|
|
JCDerrick
|
Posted: 08 December 2012 10:32 AM |
# 3
|
|
|
Ah, wait I got it. I literally needed to put ALL of my CSS code, including for the columns, etc in between the tags to get it working. That was my problem. Sorry, I don’t know why I didn’t realize that sooner. I also realized CE Image was only putting the “/images/directory/file.jpg” URL, so I changed that to the full path and it also worked.
Sorry about that. Thanks again for your help.
-John
|
|
|