yii2-attachments icon indicating copy to clipboard operation
yii2-attachments copied to clipboard

Yii2 extension for uploading and attaching the files to the models

Results 35 yii2-attachments issues
Sort by recently updated
recently updated
newest added

After upgrade to php8 / yii2.0.40 / composer 2 etc the widget fails with error in title. The fix is to add a line in yiisoft/yii2/base/Module.php ``` public function createController($route)...

Bumps [yiisoft/yii2](https://github.com/yiisoft/yii2-framework) from 2.0.7 to 2.0.38. Changelog Sourced from yiisoft/yii2's changelog. 2.0.38 September 14, 2020 Bug #13973: Correct alterColumn for MSSQL & drop constraints before dropping a column (darkdef) Bug...

dependencies

When you call $model->save() multiple times on the same action/request it raises an exception with file upload failed. I encounter this because I have a complex form which handles main...

What is the short name of the model for? When this module is used for a many of models with different namespaces, it is more convenient to create a model...

I have model with attachments: ``` $model = Page::findOne($id); ``` I want to duplicate this model and all it's attachments: ``` $newModel = new Page(); $newModel->setAttributes($model->attributes); $newModel->save(); ``` How to...

Hello! How to get image url? The getUrl method is not appropriate, as it does not return the absolute path to the image)

I've never seen something similar before Apply migrations ``` 'controllerMap' => [ ... 'migrate' => [ 'class' => 'yii\console\controllers\MigrateController', 'migrationNamespaces' => [ 'nemmo\attachments\migrations', ], ], ... ], ``` php yii...