Browse by topic

Discover Text

Explore related documentation through its most useful keyword groups.

1342 items

Grouped by Architecture

All Text

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

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

Test Erlang behavior with focused examples

Keep domain logic in small functions that accept explicit inputs. Test expected results, boundary values, and meaningful error cases without starting a full…

Developer guide

Test with different users

Choose roles that exercise the operation's permission boundary: anonymous visitor, limited editor, and administrator. Use separate browser sessions or an…

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

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

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

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

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.

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

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

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

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

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

Diagnose a failed browser interaction

Reproduce one action with the browser console and network panel open. Check for a JavaScript error before the request, a failed request, or a successful…

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

Change a runtime setting deliberately

Use bin/zotonic setconfig only for a global setting that supports a runtime change. The command changes the running configuration and does not save the value…

Developer guide

A module is discovered but not active

Open module management for the correct site. Check whether the module is disabled, waiting for a dependency, or failing during startup.

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

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

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

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

A URL reaches the wrong page

Confirm the hostname, site, and path from the actual request. Use the dispatch trace to see the selected rule and any rewritten path.