Questions - Answered

This website

Installation of Foswiki

Configuration

Using an extension

Upgrading from TWiki to Foswiki

Registration

Authentication or Authorisation

Documentation

Issue in browser

LDAP

Missing functionality

Topic Markup Language and applications

Not sure...

What follows is the code used to render the list of support questions above and is only visible to AdminGroup.

Subject Area Sections

Parameters:
  • QUESTIONLIST - required - formatted hash of all topics with the selected status. See grabQuestions section below for info on how the individual topic data is structured.

%STARTSECTION{"subjects"}%
---+!! Questions %IF{"'%URLPARAM{title}%'!=''" then="%URLPARAM{"title"}%" else=" - %URLPARAM{"status" default="Answered"}%"}%

%FORMATLIST{"This website,Installation of Foswiki,Configuration,Using an extension,Upgrading from TWiki to Foswiki,Registration,Authentication or Authorisation,Documentation,Issue in browser,LDAP,Missing functionality,Developing extensions (plugins skins etc.),Topic Markup Language and applications,Not sure..."
   split=","
   separator=" $n"
   format="$percntFORMATLIST{\"%ENCODE{"%QUESTIONLIST%" type="entity"}%\" 
                         split=\"##\" 
                         pattern=\"(.*?)~(.*?)~(.*?)~(.*?)~(.*?)~(.*)\" 
                         include=\".*?$1.*?~.*\" 
                         null=\"\"
                         header=\"---++ $1$n\"
                         format=\"   * <a href='$percntSCRIPTURL{view}$percnt/$dollar2' title='Modifed by <nop>$dollar4 on $dollar5'><noautolink>$dollar3</noautolink></a> $dollarpercntIF{\\"'$dollar6'='1'\\" then=\\"<img src='$percentICONURL{new}$percnt'>\\"}$dollarpercnt <span class='foswikiGrayText foswikiSmall'>$7</span>\"
                         separator=\"$dollarn\"
         }$percnt"
}%
%ENDSECTION{"subjects"}%

Get all questions with same status

This section grabs all questions for the selected status. For each record, renders a set of topic information separated by tildas (~) as follows: "formfield(Subject)~web.topic~formfield(TopicTitle)~wikiname~date~revision~formfield(Extension)".
%STARTSECTION{"grabQuestions"}%%SEARCH{
   "form.name = 'QuestionForm' AND  Status = '%URLPARAM{"status" default="Answered"}%'"
   excludetopic="QuestionTemplate"
   web="%WEB%"
   type="query"
   format="$formfield(Subject)~$web.$topic~$percntIF{\"'$web.$topic'/TopicTitle\" then=\"$percntENCODE{\"$formfield(TopicTitle)\" type=\"quote\"}$percnt\" else=\"$topic\"}$percnt~$wikiname~$date~$rev~$formfield(Extension)"
   order="modified" 
   reverse="on" 
   nonoise="on" 
  separator="##"
}%%ENDSECTION{"grabQuestions"}%
Topic revision: r39 - 22 Dec 2015, AaronHall - This page was cached on 06 May 2016 - 12:35.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License