Topic cluster
Other
Documentation not covered by the keyword groups shown in the parent cluster.
9 items
All documentation outside the keyword groups in the parent cluster is listed below.
Cache a template fragment
First measure the work performed by the fragment. Cache a fragment only when you know which inputs and data changes affect its output.
Create a page layout
Use an existing site base template as your starting point. Put shared document structure in the base and page-specific markup in blocks.
Create a page layout
Use an existing site base template as your starting point. Put shared document structure in the base and page-specific markup in blocks.
Find the template used by a page
Enable module#mod_development and open its template tools in the admin. Search for the template name and inspect the selected file and alternatives.
Link to resources and dispatch routes
Use a resource's page URL when linking to content. This lets Zotonic account for its path and language.
Override a module template
Find the active template and its path relative to priv/templates. Create the same relative path in your site or another active module with a higher selection priority.
Reuse markup with includes and categories
Extract repeated markup into a partial and pass its inputs explicitly.
Reuse markup with includes and categories
Extract repeated markup into a partial and pass its inputs explicitly.
Translate interface text
Write the source text in English and mark static interface text for translation.