Item10434: Pattern Skin styles:user_defined template not properly included during publish stage

pencil
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: PublishPlugin
Branches:
Reported By: DiabJerius
Waiting For:
Last Change By: CrawfordCurrie
Pattern Skin provides a means of adding user specified CSS code via the USERSTYLEURL, USERLAYOUTURL, and USERCOLORSURL preference variables.

Unfortunately, during rendering by PublishPlugin, the block (styles:user_defined) which generates the including HTML for the css files isn't being included. It is properly included during normal rendering.

styles:user_defined is included by the styles:screen block. Both are in templates/css.pattern.tmpl. The relevant section is at the end of the styles:screen definition. It looks like:

%IF{ "$ USERLAYOUTURL or $ USERSTYLEURL or $ USERCOLORSURL" then="$percntTMPL:P{$quotstyles:user_defined$quot}$percnt"}%

I have verified that the %IF% macro is being properly evaluated (by simply adding some extra text to be output) and that the styles:user_defined block is non-empty (by explicitly including it).

The above code looks perfectly valid and I have similar code elsewhere which does essentially the same thing, and it works. I'm stumped on this one.


I believe this should work now. Not seen OP for long time so closing this, will be re-opened if necessary.

-- Main.CrawfordCurrie - 23 Apr 2017 - 14:07

ItemTemplate edit

Summary Pattern Skin styles:user_defined template not properly included during publish stage
ReportedBy DiabJerius
Codebase 1.1.2
SVN Range
AppliesTo Extension
Component PublishPlugin
Priority Normal
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
Topic revision: r2 - 23 Apr 2017, 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