Tags:
create new tag
, view all tags

Question

I have installed the ChecklistPlugin and it is working. I want to set some default parameters. For example, I want the STATEICONS to be no and yes instead of indifferent and thumbs up , I want SHOWLEGEND to be set to on. I have put these lines in the TWikiPreferences but it is not taking effect. If I put these parameters while defining the checklist, like %CHECKLISTSTART{anchors="yes" notify="off" showlegend="on" pos="top" states="todo|done" stateicons=":no:|:yes:" }%, it works fine.

Here are the lines from my TWikipreferences:

Checklist Plugin

  • One line description, is shown in the TextFormattingRules topic
    • Set SHORTDESCRIPTION = Create simple checklists
  • Setup states and icons (defaults: todo¦done and :-I¦:ok:; remove # for setup):
    • Set STATES = todo|done
    • Set STATEICONS = :no:|:yes:
  • Enables/Disables state legend (default: off)
    • Set SHOWLEGEND = on

Where did I go wrong ?

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, CalendarPlugin, ChecklistPlugin, CommentPlugin, CounterPlugin, HistoryPlugin, SectionalEditPlugin, SmiliesPlugin
Server OS: Windows 2000
Web server: Apache
Perl version: 5.8.7
Client OS: Windows 2000
Web Browser: IE 6
Categories: Plugins

-- ChengappaCB - 11 Dec 2006

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.

instead of Set STATES = todo|done, change to todo or done. Not both. The same for the yes or no. without the ":"

an example...

Set STATES = done

Set STATEICONS = yes

A fast way would be to copy the animated images overtop of the none animated images

-- SteveStark - 11 Dec 2006

No. I am sure that the STATES should be todo|done, because it tells the plugin how many states are to be included (like todo|doing|done). Same for STATEICONS. It is stated clearly at http://twiki.org/cgi-bin/view/Plugins/ChecklistPlugin#Plugin_Settings. Moreover, the legend is not shown even if I set SHOWLEGEND = on

-- ChengappaCB - 12 Dec 2006

Actually, I tried your suggestion but it didn't work.

-- ChengappaCB - 12 Dec 2006

Well, I changed the relevant parameters in the Checklistplugin.pm file under sub initDefaults() to get the desired defaults.

-- ChengappaCB - 13 Dec 2006

You don't have to edit the .pm file -- you can just edit the Plugins page (ChecklistPlugin) to set preferences.

-- RobertJacobson - 24 Jun 2008

 
Change status to:
Topic revision: r6 - 2008-06-24 - RobertJacobson
 
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.