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

and

instead of

and

, 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)
Where did I go wrong ?
Environment
--
ChengappaCB - 11 Dec 2006
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is 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