Feature Proposal: Add number of topics variable to Formatted Search

Motivation

The AddFooterParameterToSEARCH allows people to specify a custom footer. WIBNI you can specify the number of topics found?

Description and Documentation

In FormattedSearch, add this to format parameter table:

$ntopics Number of topics found in current web. This is the current topic count, not the total number of topics
$nhits Number of hits if multiple="on". Cumulative across all topics in current web. Identical to $ntopics unless multiple="on"

Add this to footer parameter table:

$ntopics Number of topics found in current web
$nhits Number of hits if multiple="on". Cumulative across all topics in current web. Identical to $ntopics unless multiple="on"

Impact

Implementation

The $ntopics perl variable already exists in TWiki::Search. A new $nhits needs to be introduced for the number of hits.

This is tracked in TWikibug:Item6184

-- Contributors: PeterThoeny - 15 Feb 2009

Discussion

This is now implemented.

-- PeterThoeny - 16 Feb 2009

Edit | Attach | (削除) Watch (削除ここまで) | Print version | History : r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2009年02月16日 - PeterThoeny
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.

AltStyle によって変換されたページ (->オリジナル) /