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 22 results for "keyword"

PageScore
User Keywords system20.722
System Keywords documentation20.614
Keywords and Categories documentation20.340
Search Documentation documentation3.471
Media documentation3.418
Using MediaPlugin documentation3.396
Page Metadata Documentation documentation3.371
Media Management documentation3.316
Private system3.220
Private Pages documentation3.108
Using SearchPlugin documentation3.082
Frontmatter documentation3.056
ValidationManager documentation2.890
User Documentation system2.838
ConfigAccessorPlugin documentation2.623
Page Storage Guide documentation2.570
Page Private documentation2.460
Why Use This Platform documentation2.299
Configuration Properties Reference documentation2.094
Page Audience documentation1.698
Editing a Page documentation1.483
Using MarqueePlugin documentation1.322

Parameters

ParameterTypeDefaultDescription
querystring*Search text (* for all pages)
system-categorystringFilter by system category
user-keywordsstringFilter by keywords (pipe-separated OR logic)
authorstringFilter by page author (original creator). Use $currentUser for the logged-in user
editorstringFilter by last editor. Use $currentUser for the logged-in user
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 addon11.665
Plugin Guide addon11.665
Plugin documentation11.107
Using Current Time Plugin documentation7.399
Using TotalPagesPlugin documentation1.711
Using VariablesPlugin documentation1.705
Geology Demo addon1.689
Geology Demo addon1.689
Page Content documentation1.688
Using UptimePlugin documentation1.681

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 18 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:

No results found

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 pages currently refer to this page.

No footnotes on this page.

No comments yet.