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 system21.202
System Keywords documentation21.078
Keywords and Categories documentation20.855
Media documentation3.454
Using MediaPlugin documentation3.452
Search Documentation documentation3.432
Page Metadata Documentation documentation3.393
Media Management documentation3.320
Share Links documentation3.302
Private system3.277
Plugin Parameter Shortcuts documentation3.251
Using SearchPlugin documentation3.117
Page Status documentation3.109
Frontmatter documentation3.107
ValidationManager documentation2.943
Private Pages documentation2.939
User Documentation system2.937
Contextual Variables documentation2.850
ConfigAccessorPlugin documentation2.672
Page Storage Guide documentation2.614
Page Private documentation2.498
Why Use This Platform documentation2.282
Configuration Properties Reference documentation2.089
Page Audience documentation1.729
Using Captures documentation1.596
Editing a Page documentation1.512
Using MarqueePlugin documentation1.349

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 general15.579
Plugin Guide general15.579
Plugin documentation13.362
Plugin Parameter Shortcuts documentation10.938
Using Current Time Plugin documentation8.939
Contextual Variables documentation2.149
Using TotalPagesPlugin documentation2.050
Using VariablesPlugin documentation2.043
Geology Demo general2.017
Geology Demo general2.017

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
Android Earthquake Alerts general1.000
Coronal Mass Ejection general1.000
Current volcanic-ash SIGMETs worldwide general1.000
« Prev  Page 1 of 9  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.