Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要通过插件在他自己的模板中返回用户整个资源,该插件处理 OnPageNotFound 事件。它可以是不同的页面,取决于链接。我将解析它并获取所需的资源。我该怎么做?
您只需要https://rtfm.modx.com/revolution/2.x/making-sites-with-modx/structuring-your-site/resources/symlink/using-resource-symlinks
您可以向符号链接添加新模板或您可能想要的任何更改,并且可以将其放置在站点内的任何位置。