Question
Greetings,
We're still n00b's when it comes to TWiki, but I haven't been able to figure out where to look for this problem.
Today a user identified a problem:
At the top of each page is the following test:
%BROADCASTMESSAGE%
Also, on the left sidebar the Tip of the Day is now showing as:
TWiki Tip of the Day
%CALC{$NOP(%)SEARCH{ \"^$GET(topic)$\" web=\"$GET(web)\" scope="topic" regex="on" nosearch=\"on\" noheader=\"on\" nototal=\"on\" limit=\"1\" format=\"[[http://mytwiki/twiki/bin/view/$web/$topic][$pattern(.*?\-\-\-\+([^\n\r]+).*)]]
$summary(100, noheader) Read on \"}$NOP(%)}%
Is the problem that the BROADCASTMESSAGE variable no longer valid? Where do I find that variabel defined? Is the same true for %CALC?
Thanks
Environment
--
MichaelWeremecki - 28 Feb 2007
Answer
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.
The BROADCAST message is defined in
TWiki.TWikiPreferences. Overload it in
Main.TWikiPreferences. It needs to be defined as an empty setting, or you see a literal
%BROADCAST%.
On CALC, it could be that the
SpreadSheetPlugin is not enabled, or that you introduced a newline in the leftbar where the CALC is.
--
PeterThoeny - 01 Mar 2007
Thanks Peter.
All problems were resolved by editing
TwikiPreferences.
Strange thing though - the 'set broadcast message' variable was equal to empty, and in fact wasn't changed in any of the previous versions. It wasn't until I changed the one beneath 'If you use
PatternSkin' that the change took effect.
--
MichaelWeremecki - 01 Mar 2007