This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

simon.albrecht6232
simon.albrecht6232

Hi guys, i have a small problem with an attachMany-relation for images. I got two models: SubCategories and Projects. SubCategories have one Project. Projects have an attachMany relation for Images. In the SubCategories update-form I render a relation manager with <?= $this->relationRender('project'); ?> before <?= Form::close() ?>. The problem is: The images I upload via the relation manager modal do not get saved in the project model. If i create a new project via the projects create form, images get attached and saved like they should.

Does anybody have an idea why the images do not get saved in the relation manager modal?

Any help would be greatly appreciated!

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.