
- MODX 3
- PHP 8.2
- Vue 3


Result: a title or a link differs on desktop, tablet, and phone. Requires PageBuilder Pro and capability responsive. Types: text, textarea, url, number, currency, richtext, slug.
pagebuilder_responsive_editor_enabled is on. While it is off, the inspector has no tabs.responsive: true.pagebuilder_responsive_apply picks the mode. manual (default): one value. It comes from ?pb_bp= or pagebuilder_default_breakpoint.css: the HTML contains all three values, and a media query hides the extras.{$title|pb_text}, not escape.A saved map still works on the site until an editor saves the field as one value. Breakpoints: pagebuilder_responsive_breakpoints (default desktop ≥1024, tablet ≥768, mobile ≥0).
Title on a hero section:
| Screen | Value |
|---|---|
| desktop | Furniture catalog |
| tablet | Catalog |
| mobile | Catalog |
With pagebuilder_responsive_apply set to manual, open the page as ?pb_bp=mobile and as ?pb_bp=desktop. With css, the HTML contains all three values and a media query hides the extras.
The tabs show up only after the tablet icon, and only while the editor setting is on. A collapsed field prints the desktop value. The chunk uses {$title|pb_text}, not escape.
Collapse the field to one value and save the resource.