Haha! I googled and got my own request,not too encourageing.
Just some documentation regarding using the customization feature, certainly some form of it exixts..?
Plugin Author
pdf24
(@pdf24)
The CSS of you blog is not used when creating the PDF. For PDF creation other CSS definitions are used.
You can customize all in plugin settings pages. There you can add an image selector to style images.
There are also two tempaltes which can be used to customize the crated PDF file. There are a document template and an entry template.
The entry template corresponds to one article. The information of an article is replaced with the placeholders inside the entry template. This is done for all articles if more then one article is added to the PDF.
The document template is responsible for everything around the articles. Placeholders inside this template are replace with blog information. The final combination of the article enries is then also replaced with the content placeholder of the document template.
The resulting code is then converted to a PDF file. The CSS of you blog isn’t used for that conversion. Only the information inside the templates and the information of the CSS option is used to create the PDF file.
thanks, good to know that. You say “other CSS definitions are used”.
Are they listed somewhere, so plugin users can utilize the customization feature? I’d certainly like to know what they are if that info is available..?
thanks
Are there definitions to display any output? or is it limited?
I’m trying to get an archive page title instead of the heading.
Plugin Author
pdf24
(@pdf24)
Well in the settings page of the plugin you can add css definitions for the source of the PDF file. The PDF file source is a HTML document which can be styles with the css which you can add in the settings.
I don’t think we can create new php output, just style what’s there.
Plugin Author
pdf24
(@pdf24)
I’ve added a new point on TODO-List to automatically extract an archive name or page name which is then can be used as PDF title.
Plugin Author
pdf24
(@pdf24)
Currently not part of the latest plugin version but I hope can be added to the next version.
I notice in the latest version there are placeholders for cateogy pages, how can I make that work to show the name of the category page in the pdf?
I’m not even sure if I’m entering the placeholders correctly, or which to use, or if I can use more than one. Any more info on this?