Tags:
create new tag
view all tags

Question

I'm not sure if this is a bug or a configuration problem, but I'm having trouble with skin fallbacks on TWiki 4.2.0 (Tue, 22 Jan 2008, build 16278 to be exact). In previous versions, if I set

  • Set SKIN = skin1, pattern

in TWikiPreferences, then templates that exist for skin1 will be used if they exist, and default PatternSkin templates will be used for those actions were the skin1 template is missing.

I've used (errrr, abused rather) this feature a lot to provide a custom look to each web on view calls, yet all webs can use the latest-and-greatest pattern skin edit features.

Is skin fallback supported in 4.2? or is this feature loss a bug?

Many thanks in advance.

Environment

TWiki version: TWikiRelease04x02x00
TWiki plugins:  
Server OS: Slackware Linux
Web server: Apache 1.3.37
Perl version: Perl 5.8
Client OS:  
Web Browser:  
Categories: Skin

-- ScottHoge - 28 Mar 2008

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

No, this is still supported. And even more, you have the COVER variable that basically allow you to "push" (prepend) skins at the start of the SKIN path without forgetting the old ones. So if you have SKIN = pattern in your wiki, you could just write COVER = skin1. This is very useful for tweaking the layout for different style of pages (one column / two columns, thin/wide columns, ...)

-- ColasNahaboo - 29 Mar 2008

Thanks for the response, Colas.

Pointers to any suggestions on how to debug the configuration are welcome. I carried the same settings over from TWiki4.1, where it worked. But I can't seem to get it working in 4.2.

-- ScottHoge - 29 Mar 2008

It definetly works, as I depend on it in MoveableTypeSkin , RestPlugin and JSPopupPlugin etc. But, it is true that PatternSkin has changed, so it is likely to be related to that - do a diff in the templates directory between the 2 versions, or eyeball looking for the sections that you are over-riding.

-- SvenDowideit - 30 Mar 2008

Change status to:
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2008-04-11 - ScottHoge
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.