Skip to content
Zotonic
  • Start
  • Cookbook
  • Reference
  • Releases

Live search

Search across all Zotonic content

Type at least two characters

Results are matched against titles, summaries and topics as you type.

Scomp · mod_base
  • Reference
  • Frontend developer
  • Routing and redirects
  • Server component
  • Serialize
  • URL

cotonic_pathname_search

Module

mod_base

Render the current dispatch path_info values as a URL query string.

The component is used by Cotonic navigation code to preserve wildcard and variable path values while changing the pathname. Boolean true values are encoded without an explicit value.

For example:

{% cotonic_pathname_search %}

Edit on GitHub

Related documentation

Filters

get_admin_url

Return the absolute administration URL for a Zotonic site.

Filters

urlencode

Make a text safe for URLs.

Filters

url_abs

Generates an absolute URL for the given dispatch information.

Tags

image_data_url

Generate a data: url of a still image.

Tags

url

Generate the URL for a named dispatch rule. In this way it is possible to automatically change the generated URLs when the dispatch rules…

Filters

url

Generates the relative URL for the given dispatch information.

Scomp

chart

Render a chart without JavaScript, CSS, external services, or external assets.

Scomp

chart_donut

Render a donut chart as inline SVG.

Dispatch rules

mod_admin_keyword dispatch rules

URL dispatch rules defined by mod_admin_keyword in apps/zotonic_mod_admin_keyword/priv/dispatch/dispatch.

GitHub © 2026 Zotonic