Item1189: typo PatternSkinCustomization

Priority: Low
Current State: Closed
Released In: 1.0.4
Target Release: patch
Applies To: Extension
Component: PatternSkin
Reported By: Foswiki:Main.JtHolmes
Waiting For:
Last Change By: KennethLavrsen
This example in PatternSkinCustomisation.txt says

Example Let's say you want to simplify the bottom toolbar and remove all links except for "More topic actions". You would need to target %TMPL:DEF{"topicactionbuttons"}%, which is located in view.pattern.tmpl.

The steps you would need:

  1. Think up a name for your skin. Let us use myskin for now.
  2. Create a new (empty) view template file in /templates called view.myskin.tmpl.
  3. In view.myskin.tmpl you write:

%TMPL:INCLUDE{"view"}% %TMPL:DEF{"top:toolbarbuttons"}%More topic actions%TMPL:END%

The text says change simplify 'topicactionbuttons' and the fix is for toptoolbarbuttons, two different areas.

believe the fix should be

%TMPL:DEF{"topicactionbuttons"}%More topic actions%TMPL:END%

I could make the fix if someone approves it but I am not sure I have edit privleges although I have a registered login which is jtholmes

thanks jt

Thanks for reporting, I have fixed this in the svn codebase.

-- ArthurClemens - 03 Mar 2009

ItemTemplate edit

Summary typo PatternSkinCustomization
ReportedBy Foswiki:Main.JtHolmes
Codebase 1.0.0
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Extension
Component PatternSkin
Priority Low
CurrentState Closed
Checkins distro:9cbfd67b939e distro:dc340a191a6b
TargetRelease patch
ReleasedIn 1.0.4
Topic revision: r5 - 19 Mar 2009, KennethLavrsen
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