From af681c2c6910bbb4e62d3847c9d6b6d01d2d2e6b Mon Sep 17 00:00:00 2001 From: Peter Thoeny Date: Wed, 3 Oct 2001 01:18:03 +0000 Subject: none --- TWiki/TWikiUpgradeGuide.mdwn | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/TWiki/TWikiUpgradeGuide.mdwn b/TWiki/TWikiUpgradeGuide.mdwn index eed4c470..69624b8a 100644 --- a/TWiki/TWikiUpgradeGuide.mdwn +++ b/TWiki/TWikiUpgradeGuide.mdwn @@ -206,7 +206,9 @@ You can do the following changes using your old TWiki 01-Dec-2000 or new TWiki 0 * Added [[TWikiMetaData]] rendering. 3. Form Templates replace the TWikiCategoryTables: * Create a replacement `WebForm` topic based on `twikicatitems.tmpl` in each web that uses a Category Table. See details in [[TWikiForms]] and compare with the settings in the Know2.WebPreferences topic.
**_NOTE:_** Do not remove the `twikicatitems.tmpl` file, it is still used for topics that are of the old format. - * Searches need to be adjusted to deal with format change - if all topics are upgrades, a more specific search can be done. + * Searches need to be adjusted to deal with format change. It is possible to define a regular expression search that can deal at the same time with topics in the old format and new format. + * **_Example:_** List all topics in the Know web that have a [[Know/TopicClassification]] of [[Know/PublicFAQ]]:
%SEARCH\{ "[T]opicClassification.\*?(td..td|value\\=).\*?[P]ublicFAQ" casesensitive="on" regex="on" nosearch="on" web="Know"\}%
(The `[T]` and `[P]` is done so that search does not find the topic where this search string is located in!) + * **_Example:_** Create a link that lists all topics in the Know web with a [[Know/TopicClassification]] of [[Know/PublicFAQ]]:
[[%SCRIPTURL%/search%SCRIPTSUFFIX%/Know/?scope=text
&search=%5BT%5DopicClassification.\*%3F%28td..td%7C
value%5C%3D%29.\*%3F%5BP%5DublicFAQ&regex=on]\[All Public FAQ]]

[[SCRIPTURLsearchSCRIPTSUFFIXKnowscopetextsearch5BT5DopicClassification3F28tdtd7Cvalue5C3D293F5BP5DublicFAQregexon]] 4. For each web that has a custom **notedited.tmpl** template, create an equivalent [[WebTopicEditTemplate]] to conform with the new [[TWIKIWEBTWikiTemplates]]. The new format replaces the `notedited.tmpl`, `notext.tmpl` and `notwiki.tmpl` templates. ### Step 10: Switch over to new installation @@ -259,4 +261,4 @@ In this step, you move the working 01-Sep-2001 installation to the old 01-Dec-20 * Check TWiki:Codev/KnownIssuesOfTWiki01Sep2001 for known issues of TWiki 01 Sep 2001 (production release) --- [[JohnTalintyre]] - 18 Jul 2001
-- [[MikeMannix]] - 12 Sep 2001
-- [[PeterThoeny]] - 12 Sep 2001
+-- [[JohnTalintyre]] - 18 Jul 2001
-- [[MikeMannix]] - 12 Sep 2001
-- [[PeterThoeny]] - 02 Oct 2001
-- cgit v1.2.3