You are here:
Foswiki
>
Applications Web
>
TopicType
>
TopicFunction
>
RenderTopicsOfType
E
dit
A
ttach
Tags:
create new tag
,
view all tags
%TOC{depth="2"}% ---++ Documentation %STARTSECTION{"documentation"}% ---+++++ Parameters * TYPE: the TopicType to be searched for, defaults to BASETOPIC * FIELDS: columns of formfields to display, defaults to Topic, Summary, !WikiApplication, Changed * ROWS: number of rows to display initially, defauts to 10 * FILTER: additional filter expression (optional) * THEWEB: web to examin, defaults to BASEWEB * <field_name>_title: column title for the given field %ENDSECTION{"documentation"}% ---++ Implementation <verbatim class="tml"> %STARTINCLUDE%<!-- --> <noautolink> %GRID{ query="TopicType=~'\b%TYPE{default="%BASETOPIC%"}%\b' %IF{"defined FILTER" then="AND %FILTER%"}%" web="%THEWEB{default="%BASEWEB%"}%" columns="%FIELDS{default="TopicTitle,Summary,WikiApplication,Changed"}%" rows="%ROWS{default="10"}%" filterbar="on" toolbar="on" rownumbers="on" pager="on" width="auto" height="auto" sort="Changed" reverse="on" WikiApplication_title="%MAKETEXT{"Application"}%" TopicTitle_title="%MAKETEXT{"Title"}%" Summary_title="%MAKETEXT{"Summary"}%" Changed_title="%MAKETEXT{"Changed"}%" %FORMATLIST{"%FIELDS{default="TopicTitle,Summary,WikiApplication,Changed"}%" split="\s*,\s*" format="$percntIF{\"defined $1_title\" then=\"$1_title=\\"$percnt$1_title$percnt\\"\" }$percnt" separator="$n" }% }% </noautolink> <!-- -->%STOPINCLUDE% </verbatim> ---++ Test %DBCALL{"%TOPIC%" TYPE="TopicType" WikiApplication_title="App" }% %DBCALL{"Applications.RenderFunctionCallers"}% ---++ Copyright © 2006-2013 Michael Daum http://michaeldaumconsulting.com %DBCALL{"GnuGeneralPublicLicense" section="notice"}%
ApplicationTopic
edit
TopicType
DocuTopic
,
TopicFunction
TopicTitle
Summary
Display a table of topcis of a given type
WikiApplication
WikiWorkbench
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Edit
w
iki text
|
M
ore topic actions
Topic revision: r1 - 24 Apr 2013, micha
Applications
Log In
or
Register
Tools
TopicTypes
DataForms
DataFormAttributes
TopicTemplates
TopicViews
TopicFunctions
Webs
Applications
ClassificationApp
Extensions
Main
System
Das Urheberrecht © liegt bei den mitwirkenden Autoren. Alle Inhalte dieser Kollaborations-Plattform sind Eigentum der Autoren.