Browse by topic

Discover Text

Explore related documentation through its most useful keyword groups.

1342 items

Grouped by Architecture

All Text

Developer guide

Update dependencies deliberately

Change a dependency when you can identify the required fix or feature and the affected callers. Read its version constraints and inspect the resulting lockfile…

Developer guide

Check template references

Open Cross-reference check of templates in the Development page and run the check. Read each reported reference with the active module set in mind.

Developer guide

Verify an upgrade before release

Prepare an isolated copy of the previously released application and database. Add representative edited content, then apply the new code and schema changes.

Developer guide

Understand the optional development API

The Development page has an option to enable an API for recompiling and rebuilding Zotonic. The model implements actions for recompiling, flushing caches, and…

Developer guide

Inspect template dependencies

Open Dependency graph of all available templates from the Development page. Use the graph to understand inheritance and include relationships before changing a…

Developer guide

Trace database queries for your session

Enable module#mod_server_storage if the Development page says it is needed for database tracing. On the Development page, enable Trace all database queries for…

Developer guide

Deploy a repeatable release

Record the code revision, build steps, configuration changes, and schema changes for the release. Build and test the same revision in an acceptance environment…

Developer guide

A page is slow

Measure one representative request and identify whether time is spent in the browser, network, or server. Compare an initial request with a repeated request to…

Developer guide

A site does not start

Run bin/zotonic status to distinguish an unavailable node from a stopped or failing site. Inspect the relevant startup log before repeatedly restarting it.

Developer guide

An uploaded image does not display

Check whether the resource has an original file and whether its media information describes that file correctly. Then inspect the preview request in the…

Developer guide

Configure persistent file storage

Identify where the site's archive files, generated previews, backups, and security files are stored. These have different retention and recovery needs.

Developer guide

Trace a small number of Erlang calls

Open the Development function tracing tool as the admin user. Enter a module, optionally a function, and a small limit on the number of calls.

Developer guide

A saved change does not appear

Check each stage in order: the edited file, build output, loaded application, active module, selected template, and browser response.

Developer guide

Check a rendered template

Render the changed page with realistic content. Include missing optional fields, a long title, several list items, and a second language when applicable.

Developer guide

Verify backups by restoring them

Define what must be recovered: database, original media, configuration, and security material. Check which parts the selected backup includes before depending…

Developer guide

A module is missing from the admin

Check that the module is an Erlang application in a discovered project directory. Confirm the application name, .app.src, main mod_... module, and successful…

Developer guide

Find registered observers

Open Show an overview of all observers from the Development page. Find the notification and inspect the registered callbacks and their order.

Developer guide

Enable the Development module

Sign in to the local site's admin as an administrator. Open the module management page, find Development (mod_development), and activate it if necessary.

Developer guide

Trace a URL through dispatch

Open the Development page's dispatch tools. Inspect the list of active rules, then trace the path that produces an unexpected result.

Developer guide

A model returns an error or no value

Check the requested path and compare its binary segments with the model callback patterns. Confirm that the callback returns the unused path in the required…

Developer guide

Find the configuration layer to change

Distinguish global Zotonic configuration, Erlang runtime configuration, site configuration files, and module settings stored for a site. Similar setting names…

Developer guide

Trace templates rendered by a request

Open the Development page's Live dependency graph of templates tool. Start a trace for your session, then load the page or path you want to inspect.