Item15056: Allow dynamic publication for html. Set static for pdf

pencil
Priority: Enhancement
Current State: Closed
Released In: n/a
Target Release:
Applies To: Extension
Component: PublishPlugin
Branches: master
Reported By: BramVanOosterhout
Waiting For:
Last Change By: BramVanOosterhout
-- BramVanOosterhout - 03 Jan 2022

Line 605,606 in Publisher.pm
    # Force static context for all published topics
    Foswiki::Func::getContext()->{static} = 1;
Forces static publication, even when publishing html.

This voids the rendering of tab pane.

Suggest to limit static publication to PDF through:
    # Force static context for all published topics
    Foswiki::Func::getContext()->{static} = 1
       if  $this->{opt}->{format} eq 'pdf';

-- BramVanOosterhout - 28 Jul 2022

Implemented as proposed above in release 3.6

-- BramVanOosterhout - 28 Jul 2022
 

ItemTemplate edit

Summary Allow dynamic publication for html. Set static for pdf
ReportedBy BramVanOosterhout
Codebase 2.1.7, 2.1.6
SVN Range
AppliesTo Extension
Component PublishPlugin
Priority Enhancement
CurrentState Closed
WaitingFor
Checkins PublishPlugin:723d3e60e94a
ReleasedIn n/a
CheckinsOnBranches master
trunkCheckins
masterCheckins PublishPlugin:723d3e60e94a
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
Topic revision: r2 - 28 Jul 2022, BramVanOosterhout
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy