From: Crawford C. <cc...@c-...> - 2006-01-09 18:21:24
|
Peter Thoeny wrote: > In the past I created several corporate skins that used > %SEP%. You could switch at will between skins and got > the separator always right, e.g. "|" in one case, " " > in another, and bullets in a third. > > If you hardcode that in the preferences you get the wrong > separator depending on the skin used. > > Now a different approach is to use CSS only, e.g. bullets > and format those as pipes or something else, depending on > the skin. > > I do not feel strongly about reinstantiating %SEP%, it is > just yet another case that can cause upgrade issues. Hmmm. Well, the existing %SEP% approach still works fine with ClassicSkin, and can be made to work with PatternSkin if SEP is redefined as I described. I think I understand the hard-coded bit now. You were just making %TMPL:P{"sep"}% and %SEP% synonymous, yes? I wonder if: * Set SEP = %TMPL:P{"sep"}% would work. It ought to. C. |