Hello, all. I followed the instructions in "Advanced PDF Export Customizations" to attach a footer image to an article, then added a div as instructed to point to that attachment. The PDF Footer section of the PDF Layout reads
<div style="margin-bottom: 10.0mm; text-align:center">
<img src="download/attachments/222472950/FooterTest.png" />
</div>
But it's not showing up as a footer when I do the ... > Export (single page) to PDF command, or when I do the longer Space Tools > Export Tools > Export > PDF selection process. I'm not a coder, so I don't know anything about CSS rules; I just copy and paste whatever I find. Any suggestions?
There are two different answers why the footer doesn't show, one for "Export (single page) to PDF" and another one for "Space Tools > Export Tools > Export > PDF".
1. Export (single page) to PDF
The first sentence of the description at "Advanced PDF Export Customizations" says it all:
Single page exports don't support adding HTML headers and footers via the PDF Layout page...
It just doesn't work.
2. Space Tools > Export Tools > Export > PDF
That does work. If nothing shows there is probably something wrong with the image path.
Do the following:
By the way, what do mean with "article"?
I know pages and blog posts and was assuming you were talking about pages. Not too familiar with blog posts, though.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry about the terminology. I'm trying to attach an image to a page footer.
I went to Space Tools > Look and Feel > PDF Layout tab and revised the PDF Space Export Footer. Doing the page-selection option on Space Tools > Content Tools > Export tab did produce a PDF with the text header and footer. However, replacing the footer with the image "div" code produces nothing. No image, no text; just a blank footer.
<div style="margin-bottom: 10.0mm; text-align:center">
<img src="download/attachments/222472950/FooterTest.png" />
</div>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am trying to follow but it is hard because the terminology is all different and I don't know what the code of that first export (= the "PDF Space Export Footer") looks like.
My understanding is this:
IF SO, this means:
=> Did you check that the image path is correct?
=> Did you follow the description from
Quote:
src=""
attribute in your PDF Stylesheet, as shown above./download/...
.You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.