modxcms / docs

7 stars 9 forks source link

Document usage of the "parsed" (chunk/templated) controller class #232

Open Mark-H opened 6 years ago

Mark-H commented 6 years ago

Would be an easier to learn alternative to ExtJS CMPs, which includes the necessary bits to enable the scrollable region. (reported missing docs in https://github.com/modxcms/revolution/issues/13759)

Basically, these instructions: https://docs.modx.com/revolution/2.x/developing-in-modx/advanced-development/custom-manager-pages/custom-manager-pages-in-2.3 but in the controller file, change the extends modExtraManagerController to modParsedManagerController, and then the template can contain MODX tags.

Mark-H commented 6 years ago

Source: https://github.com/modxcms/revolution/blob/2.x/core/model/modx/modmanagercontroller.class.php#L999

Added in 2.5.0

Mark-H commented 6 years ago

Just stumbled across Susan's documentation for it in the cookbook - of course it's there :D http://modxcookbook.com/customize-manager/cmps/cmp-made-easy.html

hugopeek commented 2 years ago

And of course Bob has an excellent write-up about it too :)

https://bobsguides.com/blog.html/2018/06/24/easy-modx-custom-manager-pages-(cmps)/