We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Приветствую, Михаил.
Есть потребность сохранять изображения в отдельные папки, по id поста (или любой другой сущности).
В основном конфиге расширения я могу задать свой класс с нужной мне логикой, например:
'class' => 'common\classes\PostPathElfinder',
Но как передать в класс common\classes\PostPathElfinder id поста?
хочется примерно так в view:
<?= $form->field($model, 'content')->widget(CKEditor::className(), [ 'editorOptions' => ElFinder::ckeditorOptions('elfinder', ['item_id' => '$model->id']), ]); ?>
Возможно ли такое в текущей версии?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Приветствую, Михаил.
Есть потребность сохранять изображения в отдельные папки, по id поста (или любой другой сущности).
В основном конфиге расширения я могу задать свой класс с нужной мне логикой, например:
'class' => 'common\classes\PostPathElfinder',
Но как передать в класс common\classes\PostPathElfinder id поста?
хочется примерно так в view:
Возможно ли такое в текущей версии?
The text was updated successfully, but these errors were encountered: