"No such theme PatternSkinTheme" 错误信息

"No such theme PatternSkinTheme" error message

我已经安装了 foswiki 并进行了基本配置更改(enabled/disabled 插件、补丁更改等)。从那时起,我可以在每个 window“No such theme PatternSkinTheme”和带有 Foswiki 徽标的横幅上看到红色错误消息,“ 跳转”和“搜索”文本框位于页面末尾。

我尝试还原配置,但情况仍然存在。有人知道问题出在哪里吗?

谢谢

所以有两个问题: 第一个问题与错误消息有关,第二个问题与横幅的位置不正确有关。

第一期

在 /path/to/foswiki/lib/LocalSite.cfg 添加以下行后消息消失:

$Foswiki::cfg{JQueryPlugin}{Themes}{PatternSkinTheme}{Enabled} = 1; $Foswiki::cfg{JQueryPlugin}{Themes}{PatternSkinTheme}{Url} = $Foswiki::cfg{PubUrlPath}/$Foswiki::cfg{SystemWebName}/PatternSkinTheme/jquery-ui.css';

第二期

更新文件 /path/to/foswiki/templates/foswiki.pattern.tmpl 网页结构。我从这样的定义中删除了 %TMPL:P{"topbar"}%

... </div>%TMPL:P{"endsidebarwrapper"}%%TMPL:P{"topbar"}%%TMPL:P{"bottombar"}% ...

并将其放置到

... %TMPL:DEF{"main"}%<div class="foswikiPage"><div id="patternScreen"> <div id="patternPageShadow">%TMPL:P{"topbar"}%%TMPL:P{"metanavigation"}% <div id="patternPage"> ...