Parsed Manager Controller
Last updated Apr 29th, 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
$294 per month—let's make that $500!
Learn moreAfter following the Custom Manager Page tutorial, it's time to start thinking about how to build your interface.
You can use ExtJS/modEXT, but with the introduction of the Parsed Manager Controller in 2.5, you can also create interfaces using MODX snippets and chunks.
Controller Example¶
Instead of extending modExtraManagerController
, you would extend modParsedManagerController
. For example:
Inside the chunk chunk-name
, you could then add whatever you'd like to be displayed in your component.
ExtJS look, without the ExtJS¶
To make the page somewhat resemble the standard manager styling, you can use classes that are typically generated by ExtJS. For example, the following adds the big page title, followed by a panel with a description block.
Thanks to the MODX Cookbook for this example.
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
$294 per month—let's make that $500!
Learn more