GeoHazardWatch

Page Actions


Using SearchPlugin

The SearchPlugin embeds search results directly in pages.

Description

Use this plugin to display search results within page content. You can search by text query, filter by category, keywords, author, or editor, and choose various output formats. Great for creating dynamic index pages, dashboards, and personal contribution summaries. See Plugins for a complete list of available plugins.

Syntax

[{Search query='keyword'}] renders as:

Found 27 results for "keyword"

PageScore
User Keywords system20.621
System Keywords documentation20.514
Keywords and Categories documentation20.278
Search Documentation documentation3.440
Media documentation3.387
Using MediaPlugin documentation3.361
Page Metadata Documentation documentation3.337
Share Links documentation3.329
Media Management documentation3.252
Private system3.198
Plugin Parameter Shortcuts documentation3.163
Page Status documentation3.149
Private Pages documentation3.071
Using SearchPlugin documentation3.026
Frontmatter documentation3.017
ValidationManager documentation2.848
User Documentation system2.846
Contextual Variables documentation2.766
ConfigAccessorPlugin documentation2.582
Page Storage Guide documentation2.529
Page Private documentation2.423
Why Use This Platform documentation2.258
Configuration Properties Reference documentation2.049
Page Audience documentation1.663
Using Captures documentation1.615
Editing a Page documentation1.448
Using MarqueePlugin documentation1.289

Parameters

ParameterTypeDefaultDescription
querystring*Search text (* for all pages)
system-categorystringFilter by system category
user-keywordsstringFilter by keywords (pipe-separated OR logic). 'current' self-scopes to this page — see Plugin Parameter Shortcuts
authorstringFilter by page author (original creator). Use $currentUser for the logged-in user — see Plugin Parameter Shortcuts
editorstringFilter by last editor. Use $currentUser for the logged-in user — see Plugin Parameter Shortcuts
maxnumber50Maximum results (0 = unlimited)
pageSizenumber0Results per page — enables pagination (0 = disabled)
pagenumber1Current page number (also read from ?page= query string)
formatstringtableOutput format: table, count, titles, list

Output Formats

FormatDescription
tableFull table with page names and scores (default)
countJust the number of results (inline-friendly)
titlesBullet list with links
listSimple list of page names without links

Examples

[{Search query='plugin' max=10}] renders as:

Found 10 results for "plugin"

PageScore
Plugin Guide general14.691
Plugin Guide general14.689
Plugin documentation12.810
Plugin Parameter Shortcuts documentation10.461
Using Current Time Plugin documentation8.528
Contextual Variables documentation2.063
Using TotalPagesPlugin documentation1.968
Using VariablesPlugin documentation1.959
Geology Demo general1.934
Geology Demo general1.934

All Pages in a Category

[{Search system-category='documentation' max=5}] renders as:

Found 5 results in category: documentation

PageScore
Administrator documentation1.000
AKA documentation1.000
Asset documentation1.000
Attachments documentation1.000
Author Lock documentation1.000

Count Format (inline)

There are [{Search system-category='system' format='count'}] system pages — renders as:

There are 19 system pages.

Titles Format

[{Search system-category='documentation' format='titles' max=8}] renders as:

Multiple Keywords (OR logic)

[{Search user-keywords='economics|geology' format='titles' max=5}] renders as:

Filter by Author

[{Search author='system' format='titles' max=5}] renders as:

My Pages (Author = Current User)

[{Search author='$currentUser' format='titles' max=10}] renders as:

Please log in to see your contributions.

Pages I Last Edited

[{Search editor='$currentUser' format='titles' max=10}] renders as:

Please log in to see your contributions.

Paginated Results

[{Search system-category='general' pageSize=5 page=1}] renders as:

Found 5 results in category: general

PageScore
airspace general1.000
Alerts general1.000
Coronal Mass Ejection general1.000
Current volcanic-ash SIGMETs worldwide general1.000
Earthquakes general1.000
« Prev  Page 1 of 8  Next »

Notes

  • $currentUser in author= or editor= resolves to the logged-in username. Anonymous visitors see a "Please log in" prompt instead of results.
  • user-keywords supports pipe-separated values for OR logic: 'economics|geology' matches pages tagged with either keyword.
  • pageSize enables pagination; the current page is read from the ?page= query string automatically, so pagination links work without any additional setup.

No footnotes on this page.

No comments yet.