I want to set up a custom dashboard widget in MODX 2.2. I have an HTML file in my template folder.
I set Widget type to "file" and for Widget Content I entered:
[[+assets_path]]templates/custom/dashboard/shortcuts.html
When I do this I get an error:
Fatal error: Call to a member function setNamespace() on a non-object…
What is the proper method for specifying a path for a file type dashboard widget?