Snippet
Last updated Apr 6th, 2019 | Page history | Improve this page | Report an issue
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$301 per month—let's make that $500!
Learn moreThe Snippet Dashboard Widget Type runs a MODX Snippet and places the return value in the widget panel.
Usage¶
Simply place the name of the Snippet (no tags) you would like to run in the content of the widget, ie:
MyCustomDashboardSnippet
The output returned by the Snippet will be displayed in the dashboard widget.
See Also¶
- Dashboard Widget Type - File
- Dashboard Widget Type - HTML
- Dashboard Widget Type - Inline PHP
- Dashboard Widget Type - Snippet
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$301 per month—let's make that $500!
Learn more