• Resolved deepbevel

    (@deepbevel)


    I need to get a margin on an image, for some reason the pdf doean’t have the same image margin as it is on my site.
    I understand how to use css in wp, so I tried to add “.post img” to the doc customization field in the settings but it had no effect. I’m not sure if this is supposed to reflect/use my style descriptions.. are there any examples of how this feature is used?
    Also I don’t quite understand the purpose of the custom entry template option, is it a global template for what ever content is being converted? I’m confused..
    Any info or references to this stuff would be really helpful

    http://wordpress.org/extend/plugins/pdf24-post-to-pdf/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter deepbevel

    (@deepbevel)

    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.

    Thread Starter deepbevel

    (@deepbevel)

    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

    Thread Starter deepbevel

    (@deepbevel)

    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.

    Thread Starter deepbevel

    (@deepbevel)

    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.

    Thread Starter deepbevel

    (@deepbevel)

    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?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: PDF24 Article To PDF] custom document style help’ is closed to new replies.