ProcessWire Hook Guide: Safe Page-Save Validation and Side-Effects
Learn to add page-save validation and side-effects in ProcessWire using hooks in site/ready.php, without editing core files.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn to add page-save validation and side-effects in ProcessWire using hooks in site/ready.php, without editing core files.
When a published ProcessWire page returns 404, 500, or blank, use this diagnostic guide to isolate template resolution, _init.php errors, caching, and access-control faults.
ProcessWire makes relational content easy, but looping through PageArrays can trigger N+1 queries. This post shows how ->preload() and ->paginate() keep your templates fast and predictable.
Learn how to use ProcessWire’s $pages->find() with selector strings, limits, and built‑in pagination. The article covers the selector syntax, a live example, performance limits, and common pitfalls to avoid.
Learn how Processwire's built-in template caching stores rendered output as static files, when to enable it, and what trade-offs to watch for on performance-focused sites.
A diagnostic guide for ProcessWire $pages->find() selector syntax and pagination issues. Covers version differences between PW 3.x and 4.x, cache interference, pager misalignment, and systematic verification steps with concrete code examples.
When a field disappears from a ProcessWire page, the culprit is often inheritance or assignment. This guide walks you through the most common causes, how to verify each, and how to fix them so your templates render as expected.
Learn how ProcessWire’s selector API lets you build readable, decoupled content queries, see a paginated blog‑archive example, and understand the trade‑offs to keep your code maintainable.
A practical decision guide for choosing between ProcessWire's PageReference and PageTable fieldtypes when modeling repeatable content blocks. Covers constraints, a comparison table, trade-offs, and a hands-on validation procedure you can run on a staging site.