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 system66.139
System Keywords documentation65.982
Keywords and Categories documentation59.110
ConfigAccessorPlugin documentation56.212
Page Metadata Documentation documentation4.921
Search Documentation documentation4.867
Media Management documentation4.762
Media documentation4.739
ValidationManager documentation4.574
Frontmatter documentation4.525
Share Links documentation4.513
Private Pages documentation4.458
Using SearchPlugin documentation4.442
Plugin Parameter Shortcuts documentation4.426
Page Status documentation4.352
Using MediaPlugin documentation4.345
Private system4.336
Contextual Variables documentation4.198
User Documentation system4.160
Configuration Properties Reference documentation3.851
Page Storage Guide documentation3.701
Page Private documentation3.549
Why Use This Platform documentation3.319
Page Audience documentation2.783
Editing a Page documentation2.610
Using Captures documentation2.570
Using MarqueePlugin documentation2.420

Parameters

ParameterTypeDefaultDescription
querystring*Search text (* for all pages)
system-categorystring—Filter by system category
user-keywordsstring—Filter by keywords (pipe-separated OR logic). 'current' self-scopes to this page — see Plugin Parameter Shortcuts
authorstring—Filter by page author (original creator). Use $currentUser for the logged-in user — see Plugin Parameter Shortcuts
editorstring—Filter 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 general93.390
Plugin documentation65.635
Plugin Parameter Shortcuts documentation54.441
Using Current Time Plugin documentation49.331
Using SearchPlugin documentation31.831
Geology Demo general31.768
Using TotalPagesPlugin documentation31.748
Using IndexPlugin documentation31.715
Using UptimePlugin documentation31.714
Using ReferringPagesPlugin documentation31.696

All Pages in a Category

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

Found 5 results in category: documentation

PageScore
About geohazardwatch documentation1.000
Administrator documentation1.000
AKA documentation1.000
Asset documentation1.000
Attachments documentation1.000

Count Format (inline)

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

There are 21 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
Android Earthquake Alerts general1.000
Coronal Mass Ejection general1.000
Current volcanic-ash SIGMETs worldwide general1.000

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.