Add Talk pages to Foswiki topics
adds a wikipedia like Discuss
Button to the PatternSkin
edit&attach buttons, and to the topic action bar of the Classic, default and Foswiki:Extensions.MoveveableTypeSkin
When the user initially clicks on the 'Discuss topic' button, it will create a new topic by appending
to the original topic.
From then on, you can switch between the topic and its Discussion topic using that button.
Installation and Configuration Instructions
'Talk' topics in created in the same web as the topic, with 'Talk' Suffix
To enable Talk Topics, add the
skin to the SKIN path in SitePreferences
or the WebPreferences topic of whatever web you want to enable Talk topics in (eg, if you're using PatternSkin
* Set <nop>SKIN = talk,pattern
by setting the COVER setting to
by putting the contents of
into a topic, and setting VIEW_TEMPLATE to reference that topic (ok, rather advanced usage)
You can over-ride the suffix (defaults to
) that is appended to a topic to create its Talk topic by setting
* Set <nop>TALKSUFFIX = Talk
You can over-ride the Topic template that is used when creating a new Talk topic by setting
* Set <nop>TALKTOPICTEMPLATE = %SYSTEMWEB%.MyTalkTemplate
You can over-ride the Topic formtemplate that is used when creating a new Talk topic by setting
* Set <nop>TALKTOPICFORMTEMPLATE = %SYSTEMWEB%.MyTalkFormTemplate
has been tested with TWiki 4.2.0 using the default skin (used as a building block for other skins), ClassicSkin
There are 2 known limitations at this time
- any topic containing the TALKSUFFIX will be considered a Talk topic - this is due to a bug in VarIF string matching
- you cannot create Talk topics for topics in webs you do not have change permission. This will not be solved in the Talk Suffix mode.
Discussion and future ideas
There are many approaches to storing Talk discussions:
- append a 'Talk' suffix to the name of the topic, and link to that
- Talk topics are normal topics that conform to a naming scheme, thus are listed in WebChanges seperatly from their parent topics
- convert the web and topic name to some reversible but otherwise unlikely combination, and store in a seperate Talk web
- use Subwebs with common topic names
- use a formfield in the topic to store the Talk
- use a META:PREF in the topic to store the Talk
This Foswiki Application implements the first using either a SKIN or COVER setting or using VIEW_TEMPLATE. The other modes will be examined over time.
You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server.
Open configure, and open the "Extensions" section. Use "Find More Extensions" to get a list of available extensions. Select "Install".
If you have any problems, or if the extension isn't available in
, then you can still install manually from the command-line. See http://foswiki.org/Support/ManuallyInstallingExtensions
for more help.
Related Topics: Contribs