This probably won't work, but it's worth a try:
Create a new menu item in System -> Menus
Leave the action blank and use core for the namespace.
In the handler field, put this:
MODx.runSnippet('MySnippet'); return false;
It does not work.
This the code of the Controller File of the Modx Docs «Custom Manager Pages in 2.3» :
<?php
class MycmpWelcomeManagerController extends modExtraManagerController {
public function process(array $scriptProperties = array()) {}
public function getPageTitle() {
return 'My Test CMP';
}
public function getTemplateFile() {
return 'welcome.tpl';
}
}
Is it possible to write a Controller File like this that will run my snippet?
Thank you for your generous assistance