Log inRegister

Function: RenderTableSearchResults

Generic table display for search results

Documentation

TODO

Parameters
  • BASESEARCH - REQUIRED: Base search string (in DBCachePlugin DBQUERY format). For example: name = '.*' - e.g. finds all topics.
  • EXCLUDE - Option regex for results to exclude. Defaults to \bWeb* - e.g. excludes topics starting with "Web".
  • FACETS - Optional list of facets to use in the filter bar and search results.
  • INITSORT - Optionally set initial sort. Defaults to "modified".
  • INITLIMIT - Optionally set initial limit to # of results. Defaults to "all".
  • SEARCH_FORMAT - Optional setting for different format for search results.
  • HEADER_FORMAT - Optional setting for different format for search results header.
  • FOOTER_FORMAT - Optional setting for different format for search results footer.

Css

Implementation

%STARTINCLUDE%
%~~  DBCALL{"%TCAOWEB%.RenderBarFilterWithSort"  
~~~     INITSORT="%IFDEFINED{"%INITSORT%" 
~~~          then="$percntINITSORT$percnt" else="modified" glue="off"}%" 
~~~    INITLIMIT="%IFDEFINED{"%INITLIMIT%" 
~~~          then="$percntINITLIMIT$percnt" else="all" glue="off"}%" 
~~~    FACETS="%IFDEFINED{"%FACETS%" glue="off"}%"
~~~   }%
%TABLE{tablewidth="100%" columnwidths="80px,300px,50px,50px"}%
%~~   DBQUERY{
*~~       
%~~       DBCALL{"%TCAOWEB%.RenderSearchString"  
~~~           BASESEARCH="%IFDEFINED{"%BASESEARCH%" then="$test" else="name = '.*'" glue="off" }%" 
~~~           INITSORT="%IFDEFINED{"%INITSORT%" then="$test" else="modified" glue="off"}%"
~~~           INITLIMIT="%IFDEFINED{"%INITLIMIT%" then="$test" else="all" glue="off"}%" 
~~~           FACETS="%IFDEFINED{"%FACETS%" glue="off"}%"
~~~        }% 
~~~        web="%BASEWEB%" 
~~~        exclude="%IFDEFINED{"%EXCLUDE%" then="$test" else="\bWeb*" glue="off"}%" 
~~~        header="$percntIFDEFINED{\"%HEADER_FORMAT%\" 
~~~            then=\"%HEADER_FORMAT%\"
~~~            else=\"| *Topic* | *Summary* | *Modified by* | *On* |$n\"
~~~            glue=\"off\"}$percnt"
~~~        footer="$percntIFDEFINED{\"%FOOTER_FORMAT%\" 
~~~            then=\"%FOOTER_FORMAT%\"
~~~            else=\"\"  glue=\"off\"}$percnt"
~~~        format="
*~~            $percntIFDEFINEDTHEN{\"%SEARCH_FORMAT%\" glue=\"off\"}$percnt
~~~            %SEARCH_FORMAT%
~~~            $percntELSEDEFINED$percnt
*~~            | [[$web.$topic][$percntSPACEOUT{$topic}$percnt]] <span class=\"foswikiSmall\" ><em>
*~~                 $percntIFDEFINED{\"$expand(TopicType or Classification)\" 
~~~                       then=\"<noautolink>$expand(TopicType or Classification)</noautolink>\" glue=\"off\"}$percnt</em></span>  |
~~~                <noautolink>$percntENCODE{\"$formfield(Summary)\" type=\"html\"}$percnt</noautolink>   | 
~~~                $percntUSERSWEB$percnt.$expand(info.author) | $formatTime(info.date, '$day $month') |
~~~         $percntFIDEFINED$percnt"
~~~     }%

_[[%BASEWEB%.WebChanges][View more recent changes...]]_

<!-- interrupt glue -->
%STOPINCLUDE%

Test

Sort by:    Filter by:
Limit To:
Topic Summary Modified by On
Render Classification Topic TopicFunction Renders general layout for ClassificationTopics. LynnwoodBrown 31 July
Render Table Search Results TopicFunction Generic table display for search results LynnwoodBrown 21 February
Form Edit Template LynnwoodBrown 04 March
Render Tag Search TopicFunction Search content based on tags LynnwoodBrown 06 September
Render Tag LynnwoodBrown 19 February
Tag Form LynnwoodBrown 28 March
Tag Template Main.lynnwood_40skyloom_2ecom 05 November
Tag TopicType Topic tags Main.lynnwood_40skyloom_2ecom 05 November
Task Topic Master MasterTopic Defines common elements for Task topics. ProjectContributor 05 October
Render Blog List TopicFunction Renders list of blog entries ProjectContributor 05 October
TCAO Comments Template MasterTopic System.CommentPlugin templates ProjectContributor 04 October
Render Topic Creator TopicFunction TopicFunction to display a form to create a new classified topic ProjectContributor 15 March
Render Search String TopicFunction Generates a properly formatted searchstring for either SEARCH or DBQUERY ProjectContributor 09 March
Render Bar Filter With Sort TopicFunction Bar with sort and filter options ProjectContributor 08 March
Topic Class Web Home Intro MasterTopic Provides basic browsing of TopicClassification setup suitable for including in WebHome. ProjectContributor 08 March
Render Create New Topic Drop Down TopicFunction Renders a drop-down menu for creating new topics. ProjectContributor 08 March
Help Topic TopicType Help and how-tos related to TCAO. ProjectContributor 08 March
Master Topic TopicType Topics and Topic elements that are reused across installation using INCLUDE variable. Modifying these topics immediately affect the entire installation. ProjectContributor 08 March
Render Topic Summary With Comments List TopicFunction Displays short intro to topic with number of comments ProjectContributor 24 February
Render Standard Filter TopicFunction Renders UI for filtering list of topics. ProjectContributor 23 February
Topic Classification MasterTopic The basic overview of how TCAO organizes content within a web. ProjectContributor 20 February
Topic Tree MasterTopic Displays topic parent-child relationships as tree. ProjectContributor 17 February
Render Comment Count Bar TopicFunction Counts comments in a topic by counting at special tag ProjectContributor 17 February
Topic Function Template ProjectContributor 16 February
Topic Function TopicType TopicType of topics to be called by a (parameterized) INCLUDE or DBCALL ProjectContributor 15 February
Post TCAO Install Help HelpTopic Help message displayed after TCAO is added to a web. ProjectContributor 09 February
Render New Topic Help TopicFunction Renders the help banner at the topic of new Classification topics ProjectContributor 09 February
Render Create New Topic TopicFunction Provides interface for creating new classified topics ProjectContributor 30 January
All News MasterTopic Used by NewsItem TopicType, listing all news in all webs. ProjectContributor 10 January
Recent News MasterTopic Used by NewsItem TopicType, listing 5 most recent news topics in all webs. ProjectContributor 10 January
Master Topic Template ProjectContributor 10 January
Just Blog It Installation HelpTopic How to enable quick-blogging with <nop>JustBlogIt Firefox extension ProjectContributor 10 January
Render Install Topic Classification TopicFunction Provides form for installing core TCAO infrastructure to a web. ProjectContributor 10 January
Topic Class Form ProjectContributor 03 January
Render Add Comment TopicFunction Creates a section to add comments to a topic. ProjectContributor 02 January
Render Right Side Bar TopicFunction Renders a sidebar on right side of page. ProjectContributor 02 January
Generic New Class Install Help HelpTopic Default post-installation help for new classifications. ProjectContributor 02 January
New Topic Type Install Help HelpTopic Post-installation help for new TopicTypes. ProjectContributor 02 January
Render Blog List Item TopicFunction For rendering an individual WebLog entry within RenderBlogList. ProjectContributor 02 January
Render Table Of Content TopicFunction Renders a table of content with or without twisty ProjectContributor 02 January
Render Function Callers TopicFunction Render a list of topics that use a given TopicFunction ProjectContributor 28 December
Topic Form ProjectContributor 28 December
Create New Web Log TopicFunction Topic for creating new WebLogs ProjectContributor 28 December
Topic Type Classification Organize content by function or topic structure. ProjectContributor 17 October
Create New Topic ProjectContributor 16 October
Tcao Admin SubjectArea Topics related to administrating the TCAO application. ProjectContributor 10 October
Tcao Use SubjectArea Basic information about using TCAO ProjectContributor 10 October
Subject Area SubjectArea ProjectContributor 05 October
TCAO HelpTopic Acronym for TopicClassificationAddOn ProjectContributor 03 October
Render Alphabetical Search TopicFunction Provides A-Z links to generate alphabetical list. ProjectContributor 03 October
Gnu General Public License ApplicationLicense Standard Open Source License MichaelDaum 01 September
Render T Wiki Form List TopicFunction, DocuTopic Renders a list of DataForms that make use of the given TWikiFormAttribute ProjectContributor 08 August
Help Topic Template ProjectContributor 22 October

View more recent changes...

Calls to 'RenderTableSearchResults'

(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 Skyloom Wiki? Send feedback
Syndicate this site RSS

This website is using cookies. More info. That's Fine