You are here: Foswiki>Tasks Web>Item870 (18 May 2009, CrawfordCurrie)Edit Attach

Item870: PublishPlugin incorrectly handles variables in css.pattern.tmpl

pencil
Priority: Normal
Current State: No Action Required
Released In:
Target Release:
Applies To: Extension
Component: PublishPlugin
Branches:
Reported By: ChristophScheurer
Waiting For:
Last Change By: CrawfordCurrie
I have derived a publish skin (actually rather just a cover) for our web-site based on PatternSkin. For this I had to use a modified version of css.pattern.tmpl which uses repeat-x for the header art background in my case (instead of the default of no-repeat). After I published the site I noticed that the header background art would not show up at all. Looking at the generated static html I found out that
%WEBHEADERART%
is not substituted correctly. It should point to the image somehwere under rsrc/ but it points to the url of the original wiki page which is not accessible in the published version. This is the same for my modified version as for the original css.pattern.tmpl. The image though is copied to rsrc/ just fine. Interestingly, the expansion of
%WEBLOGOIMG%
in foswiki.tmpl works as expected and the logo shows up in the published site.
I'm afraid I need more detail on what you modified and how to be able to comment. When I experiment with the modification you describe above, it works fine.

-- CrawfordCurrie - 18 Mar 2009
I can't reproduce this in the latest version (18th May 2009), and reporter hasn't added any new info after 2 months, so closing.

-- CrawfordCurrie - 18 May 2009

ItemTemplate edit

Summary PublishPlugin incorrectly handles variables in css.pattern.tmpl
ReportedBy ChristophScheurer
Codebase 1.0.0
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Extension
Component PublishPlugin
Priority Normal
CurrentState No Action Required
WaitingFor
Checkins
ReleasedIn
Topic revision: r3 - 18 May 2009, CrawfordCurrie
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