NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item11383 for general documentation changes for release 1.1.5. Use Item9693 for docu changes for release 2.0.

Item8606: VIEW_TEMPLATE not used when running genpdf recursively

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal New Extension GenPDFAddOn Main.MartinKaufmann
I'm using GenPDFAddOn ($Rev: 2790 (28 Feb 2009) $) to generate a PDF from topics with a customised VIEW_TEMPLATE - which works fine. However, if I try to generate a PDF from a series of topics using pdfrecursive=on, the VIEW_TEMPLATE of these topics are not used anymore. Instead, the topics are processed without VIEW_TEMPLATE. Could it be that the VIEW_TEMPLATE setting is only read once per run?

-- MartinKaufmann - 23 Feb 2010

Martin - the recursive processing renders each topic individually - no settings are carried forward from one topic to the next. Do all topics have a VIEW_TEMPLATE set?

There is a test version / release candidate of a new GenPDFAddOn posted to Sandbox/Beta.GenPDFAddOn? It does have changes in recursive rendering but I don't think there is anything that would impact VIEW_TEMPLATE.

-- GeorgeClark - 08 Mar 2010

Only some of my topics have a VIEW_TEMPLATE setting.

I'm going to try out the test version to see if that changes anything.

-- MartinKaufmann - 08 Mar 2010

Martin, did you ever get a chance to see if the test version (now released) had any impact?

-- GeorgeClark - 25 Feb 2011

I just re-tested it using the latest official version (version 1.2) and still get the original behaviour (i.e. no VIEW_TEMPLATES are used when processing several topics using pdfrecursive=on).

-- MartinKaufmann - 28 Feb 2011
 

ItemTemplate edit

Summary VIEW_TEMPLATE not used when running genpdf recursively
ReportedBy MartinKaufmann
Codebase 1.0.9
SVN Range
AppliesTo Extension
Component GenPDFAddOn
Priority Normal
CurrentState New
WaitingFor MartinKaufmann
Checkins
TargetRelease n/a
ReleasedIn n/a
Topic revision: r13 - 19 Mar 2011 - 09:57:12 - MartinKaufmann
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads