需要有关如何在octobercms中使用netsti使用Frontend文件上传插件的帮助

问题描述 投票:0回答:1

我试图使用NETSTI Frontend File Upload Plugin,但没有运气设置它。下载后我创建了一个页面,将组件拖放到我想要的位置,将我的模型和键列设置为allimage

public $attachMany = [
    "allimage" => "System\Models\File"
];

但不断收到错误:

在null上调用成员函数allimage()请问我该如何解决这个问题

php laravel upload octobercms
1个回答
0
投票

你有没有看到插件文档中的那部分?

enter image description here

你需要在插件属性中设置deferredBinding =“1”,它会起作用。

© www.soinside.com 2019 - 2024. All rights reserved.