
Quick start
Minimal setup to enable mxQuickView on a catalog page in 5–10 minutes.
1. Install the package
- Install
mxQuickViewvia Extras → Installer. - Clear MODX cache.
- Check system settings in namespace
mxquickview.
2. Load initialization in the template
modx
[[!mxQuickView.initialize]]fenom
{'!mxQuickView.initialize'|snippet}3. Add quick view button
modx
<button type="button"
data-mxqv-click
data-mxqv-mode="modal"
data-mxqv-action="chunk"
data-mxqv-element="mxqv_product"
data-mxqv-id="[[+id]]"
data-mxqv-title="[[+pagetitle]]">
Quick view
</button>fenom
<button type="button"
data-mxqv-click
data-mxqv-mode="modal"
data-mxqv-action="chunk"
data-mxqv-element="mxqv_product"
data-mxqv-id="{$id}"
data-mxqv-title="{$pagetitle}">
Quick view
</button>4. Check whitelist
mxquickview_allowed_chunkmust includemxqv_product(or your chunk).- For quick view of regular resources add
mxqv_resource. - For
snippet/templatefillmxquickview_allowed_snippetandmxquickview_allowed_templateaccordingly.
5. Verify
- Clicking the button opens quick view.
- Content is loaded from
assets/components/mxquickview/connector.php. - On error the JSON
messageis shown.
