Changeset 3456 for trunk/EditTablePlugin/data/System/EditTablePlugin.txt
- Timestamp:
- 04/16/09 10:19:19 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EditTablePlugin/data/System/EditTablePlugin.txt
r3416 r3456 2 2 ---+!! Edit Table Plugin 3 3 4 Edit tables in place, using edit fields and drop down boxes, without having to edit the complete topic. 4 %SHORTDESCRIPTION% 5 5 6 6 Simply add an *[ Edit table ]* button to an existing table by writing =%<nop>EDITTABLE{}%= directly above the table. This can be added to tables that are formatted with TablePlugin: add the =EDITTABLE= macro just above or below the =TABLE= tag. It can also be used without any =TABLE= tag. … … 149 149 ---++ Plugin Settings 150 150 151 Plugin settings are stored as [[%SYSTEMWEB%.PreferenceSettings][preference settings]]. To reference 152 a plugin setting write ==%<nop><plugin>_<setting>%==, for example, ==%<nop>EDITTABLEPLUGIN_SHORTDESCRIPTION%== 153 154 * One line description, shown in the %SYSTEMWEB%.TextFormattingRules topic: 151 You can override the default settings for the plugin by defining the following [[%SYSTEMWEB%.PreferenceSettings][preferences]]. 152 <!-- 155 153 * Set SHORTDESCRIPTION = Edit tables using edit fields, date pickers and drop down boxes 156 157 * Set DEBUG to 1 to get debug messages in =data/debug.txt=. Default: =0= 158 * Set DEBUG = 0 159 160 * Set JAVASCRIPTINTERFACE to 1 to be able to directly move and delete row without page refresh. Can be overridden with parameter =javascriptinterface=. 161 * Set JAVASCRIPTINTERFACE = 1 162 163 * Default for change rows flag: =on=, =off=, =add= 164 * Set CHANGEROWS = on 165 166 * Default flag for quiet save option: =on= to show the Quiet Save button, =off= to hide 167 * Set QUIETSAVE = on 168 169 * Default edit button: Specify =button text=, or specify =alternate text, image URL=. Note: Texts inside =%<nop>MAKETEXT{}%= are translated into other languages. 170 * #Set EDIT_BUTTON = %MAKETEXT{"Edit table"}% 171 * Set EDIT_BUTTON = %MAKETEXT{"Edit this table"}%, %ATTACHURL%/edittable.gif 172 * Set SAVE_BUTTON = %MAKETEXT{"Save table"}% 173 * Set QUIET_SAVE_BUTTON = %MAKETEXT{"Quiet save"}% 174 * Set ADD_ROW_BUTTON = %MAKETEXT{"Add row"}% 175 * Set DELETE_LAST_ROW_BUTTON = %MAKETEXT{"Delete last row"}% 176 * Set CANCEL_BUTTON = %MAKETEXT{"Cancel"}% 177 178 * Default help texts 179 * Set INCLUDED_TOPIC_DOES_NOT_EXIST = <span class="foswikiAlert">%MAKETEXT{"Warning: 'include' topic does not exist!"}%</span> 154 --> 155 Note: Texts inside =%<nop>MAKETEXT{}%= are translated into other languages. 156 | *Preference* | *Meaning* | *Default* | 157 | EDITTABLEPLUGIN_JAVASCRIPTINTERFACE | Set to 0 to be disable the ability to directly move and delete row without page refresh. Can be overridden with parameter =javascriptinterface= | 1 | 158 | EDITTABLEPLUGIN_CHANGEROWS | Default for change rows flag: =on=, =off=, =add= | on | 159 | EDITTABLEPLUGIN_QUIETSAVE | Default flag for quiet save option: =on= to show the Quiet Save button, =off= to hide | on | 160 | EDITTABLEPLUGIN_EDIT_BUTTON | Specify =button text=, or =alternate text, image URL=. | %MAKETEXT{"Edit this table"}%, %ATTACHURL%/edittable.gif | 161 | EDITTABLEPLUGIN_SAVE_BUTTON | Specify =button text=, or =alternate text, image URL=. | %MAKETEXT{"Save table"}% | 162 | EDITTABLEPLUGIN_QUIET_SAVE_BUTTON | Specify =button text=, or =alternate text, image URL=. | %MAKETEXT{"Quiet save"}% | 163 | EDITTABLEPLUGIN_ADD_ROW_BUTTON | Specify =button text=, or =alternate text, image URL=. | %MAKETEXT{"Add row"}% | 164 | EDITTABLEPLUGIN_DELETE_LAST_ROW_BUTTON | Specify =button text=, or =alternate text, image URL=. | %MAKETEXT{"Delete last row"}% | 165 | EDITTABLEPLUGIN_CANCEL_BUTTON | Specify =button text=, or =alternate text, image URL=. | %MAKETEXT{"Cancel"}% | 166 | EDITTABLEPLUGIN_INCLUDED_TOPIC_DOES_NOT_EXIST | Default help texts | <span class="foswikiAlert">%MAKETEXT{"Warning: 'include' topic does not exist!"}%</span> | 180 167 181 168 *Note:* The Plugin uses base settings like date format, language and style from the JSCalendarContrib. … … 192 179 193 180 ---++ Installation Instructions 194 Normally this plugin is distributed and automatically installed with Foswiki. The instructions below are meant for special installations. 195 196 1 Download the ZIP file from the Plugin web (see below) 197 1 Unzip ==%TOPIC%.zip== in your ($FOSWIKI_ROOT) directory. 198 * Alternatively, manually resolve the dependencies listed below. 199 %$DEPENDENCIES% 200 1 The Plugin depends on the =viewauth= script to authenticate the user. As described in %SYSTEMWEB%.AccessControl, copy the =view= script to =viewauth= (or better, create a symbolic link) and add =viewauth= to the list of authenticated scripts in the =.htaccess= file. 201 1 Visit =configure= in your installation, and enable the plugin in the ={Plugins}= section. 202 181 %$INSTALL_INSTRUCTIONS% 203 182 Test if the Plugin is correctly installed: 204 183 * Check above example if there is an *[ Edit table ]* button below the table in above example
Note: See TracChangeset
for help on using the changeset viewer.
