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.

Dispatch rules

mod_traffic_guard dispatch rules

URL dispatch rules defined by mod_traffic_guard in apps/zotonic_mod_traffic_guard/priv/dispatch/dispatch.

Dispatch rules

mod_agent_discovery dispatch rules

URL dispatch rules defined by mod_agent_discovery in apps/zotonic_mod_agent_discovery/priv/dispatch/dispatch.

Models

development_tools

Inspect a running site's dispatch rules, template resolution, source, composition, and available model APIs. Combine this model with…

GitHub © 2026 Zotonic