SID-02494: wiki text running failure w/ SUPPORT_SEARCH_***
| Status: |
Answered |
TWiki version: |
6.0.2 |
Perl version: |
5.14.2 |
| Category: |
CategorySearch |
Server OS: |
win10 x64 |
Last update: |
3 years ago |
I am trying to setup knowledge database here, and just refer code from twiki support database. Below code results in no data output, and I wondering if any plugin is required.
By the way, is there procedure/reference to set up web similar to wiki support page?
1. WIKI Text as below:
---++ Asked Questions
%CALC{$SET(num, 0)}%
%SUPPORT_SEARCH_TABLE_FORMAT%
%SUPPORT_SEARCH_HEADER%
%SEARCH{
"META\:FIELD.*[S]tatus.*value\=.[A]sked"
casesensitive="on"
excludetopic="WebTopicEditTemplate"
regex="on"
nosearch="on"
nonoise="on"
order="modified"
reverse="on"
format="%SUPPORT_SEARCH_FORMAT%$percntCALC{$SETM(num,+1)}$percnt"
}%
Number of open questions: %CALC{$GET(num)}%
2. Web looks like this:
Asked Questions
%SUPPORT_SEARCH_TABLE_FORMAT% %SUPPORT_SEARCH_HEADER%
Number of open questions: 0
--
tony qiu - 2022-06-02
Discussion and Answer
You don't need any additional plugin.
--
Peter Thoeny - 2022-06-02
Thanks again for your suggestion on how to creating support database, it's very useful for most of teams.
--
tony qiu - 2022-06-04
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.
Topic revision: r3 - 2022-06-04
- TonyQiu