A
A
Alexander Ivanov2016-05-30 15:51:17
MODX
Alexander Ivanov, 2016-05-30 15:51:17

How to improve the gallery in MODX REVO?

Maybe someone came across.
Gallery -
gaserge.ru/blog/modx-revolution/udobnyij-zagruzchi...
After creating the gallery there is a button "Load from mediasource" or "update gallery".
How to remove this button so that they are updated automatically?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Ivanov, 2016-06-10
@cimonlebedev

I figured out later in the comments my version of this gallery or I’ll write an article ... \
settings for migiks
-----
Formtabs
columns
plugin to create folder after saving

//$id = $modx->resource->get('id');
$id = $resource->get('id');
$root_path = $_SERVER['DOCUMENT_ROOT'];
mkdir("$root_path/assets/files/$id", 0700);
//echo $_SERVER['DOCUMENT_ROOT'];

Actionbuttons only -> uploadfiles
Result:
7f90467c95e5447398c4924f94a5b3fc.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question