Patrick Drijkoningen

Results 3 issues of Patrick Drijkoningen

I'm using the Proffer plugin to upload several documents or pictures, linked to a machine. In DocsTable I added: ``` $this->addBehavior('Proffer.Proffer', [ 'photo' => [ 'root'=>WWW_ROOT.'files', 'dir' => 'scource_dir', 'thumbnailSizes'...

question
documentation

Since the update VSCode I cannot use the +-button on the right to add a new connection. ``` Version: 1.59.0 (user setup) Commit: 379476f0e13988d90fab105c5c19e7abc8b1dea8 Date: 2021-08-04T23:13:12.822Z Electron: 13.1.7 Chrome: 91.0.4472.124...

CakePHP v2.3, PHP v5.4 The FilteredBehavior returns an empty $query['conditions']-array. A little research learned me this: function beforeFind(Model $Model, $query) { ... $settings = $this->settings[$Model->alias]; $values = $this->_filterValues[$Model->alias]; ``` foreach...