Pyrocms Codeigniter 小部件模块
我的问题是小部件是否可以进入我添加到自定义模块的任何自定义库?我想要实现的是创建一个自定义模块,并且我想添加生成 pdf 文档的功能,因此我正在考虑将 pdf 生成作为一个小部件,因为我想在另一个站点上使用它。如果我将其设为模块,我是否能够在我的 pdfmodule 和任何其他模块之间共享资源?有时我希望有一本关于高温的书可以澄清这些问题。
My question is do widgets get in on any custom libraries that I add to a custom module? What I want to achieve is create a custom module and I want to add ability to generate pdf documents so I was thinking of making the pdf generation a widget as I would like to use that on another site. If I made it a module, would I be able to share the resources between my pdfmodule and any other module? Sometimes I wish there was a book written on pyrocms that clarifies these issues.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
抱歉,花了一个月的时间才发现这个问题,但我们通常会在支持论坛上提供帮助,并且不会经常在这里查看。
SO,交叉加载资源。是的,支持得很好。我们使用 CodeIgniter 的 HMVC 插件,但经常忘记人们不太了解它是如何工作的。我会为此在文档中添加一些内容,但基本上您只需指定模块名称,如下所示:
希望这可以帮助任何人将来找到它。对于 Eagletropy 来说可能有点晚了。
Sorry it took a month to spot this one, but we generally help out on the support forums and don't look here as often.
SO, cross loading resources. Yep that is supported just fine. We use the HMVC plugin for CodeIgniter and often forget that people don't know too much about how it works. I'll get something added to the documentation for this, but basically you just specify the module name like this:
Hope this helps anyone finding this in the future. It's probably a bit late for Eagletrophy.