Tags:
create new tag
, view all tags

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

TWiki version: TWikiRelease04x01x01
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: SuSE 10.2
Web server: Apache 2
Perl version: 5.8.8
Client OS: WinXP
Web Browser: Firefox, IE
Categories: Missing functionality

-- MichaelWeremecki - 28 Feb 2007

Answer

ALERT! 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

 
Change status to:
Topic revision: r3 - 2007-03-01 - MichaelWeremecki
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.