%SEP% variable not always honoured
The value of the
%SEP% variable defined in the active skin is not used when rendering certain specific "system" topics.
Test case
- copy
twiki.tmpl to skin.tmpl ; view.tmpl to view.skin.tmpl
- edit
skin.tmpl and change %TMPL:DEF{"sep"}% | %TMPL:END% to %TMPL:DEF{"sep"}% XXXXX %TMPL:END%
- edit
view.skin.tmpl and change %TMPL:INCLUDE{"twiki"}% to %TMPL:INCLUDE{"skin"}%
- edit Sandbox.WebPreferences and set the skin to
skin
- point your browser at Sandbox.WebHome, the separator will be
|
- point your browser at a Sandbox.TestTopic1 the separator will be
XXXXX
- edit
twiki.tmpl and set sep to ==%TMPL:DEF{"sep"}% YYYYY %TMPL:END% ; the affected pages will use YYYYY as the separator.
Topics which are known to exhibit this behaviour:
WebHome,
WebIndex,
WebChanges
Topics which
don't have this problem:
WebSearch,
WebTopicList,
WebSearch,
WebPreferences
I have not observed the problem on any user created pages.
Environment
| TWiki version: |
TWiki20020803beta |
| TWiki plugins: |
DefaultPlugin, CommentPlugin, InterwikiPlugin |
| Server OS: |
debian woody 3.0r0 |
| Web server: |
apache 1.3.26 |
| Perl version: |
v5.6.1 |
| Client OS: |
n/a |
| Web Browser: |
Mozilla 1.2b, IE 5.5 |
--
MattWilkie - 06 Nov 2002
Follow up
Fix record
The fix appears to be to skip step 3 above, do
not change
%TMPL:INCLUDE{"twiki"}% to
%TMPL:INCLUDE{"skin"}%
thanks to
TomKagan for figuring this out (details at
SeeSkinDev)
--
MattWilkie - 12 Dec 2002