Function: RenderInstallTopicClassification

Provides form for installing core TCAO infrastructure to a web.

Further Development

  • Is there a way to filter out the webs that already have TCAO installed?

Documentation

Provides form for installing core TCAO infrastructure to a web.

Parameters
  • None

Css
  • None

Implementation

%STARTINCLUDE%
---++ Install %SYSTEMWEB%.TopicClassificationAddOn into a web

Use the following form to install the core %SYSTEMWEB%.TopicClassificationAddOn components to an existing web.

<div class="foswikiFormSteps">
<div class="foswikiFormStep">
<script type="text/javascript">
function setWeb(theWeb) {
   document.installTCAO.topic.value = theWeb + ".TopicClassification";
}
</script>
<form name="installTCAO" action="%SCRIPTURL{save}%/" method="post" >
<input type="hidden" name="templatetopic" value="%TCAOWEB%/Installs.TopicClassification" />
<input type="hidden" name="topic" value="TopicClassification" />
*Select web to install !TopicClassification framework:* <select name="selectWeb" onchange="setWeb(this.value);" ><option> Select web... </option>%WEBLIST{"<option value='$name'>$name</option>" separator=" " }% </select> %BR% 
<input type="submit" value=" Install !TopicClassificationAddOn " /> <br /> _You will be sent immediately to the !TopicClassification topic in the choosen web and presented further instructions for setting up TCAO within the web._ 
</form>
</div><!--/foswikiFormStep-->
</div><!--/foswikiFormSteps-->
%STOPINCLUDE%

Test

Install TopicClassificationAddOn into a web

Use the following form to install the core TopicClassificationAddOn components to an existing web.

Select web to install TopicClassification framework:

You will be sent immediately to the TopicClassification topic in the choosen web and presented further instructions for setting up TCAO within the web.

Calls to 'RenderInstallTopicClassification'

(C) 2006 LynnwoodBrown@Skyloom.com

This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. For more details read the LICENSE.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, to the extent permitted by law; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Middle Fork Home Wiki? Send feedback
Syndicate this site RSS